All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

Search Error with Solspace Calendar

Jesse Schutt 21 Apr 2015 16:01 problem, complete

Hey Low,

I ran into a problem with searching Solspace Calendar events using Low Search and the extension for Calendar.

Here is my search tag: http://pastie.org/10105800

Here is my results tag: http://pastie.org/10105797

And here is the error I receive after searching for a keyword: http://pastie.org/10105796

For context, this is happening on the same site as this issue (which appears to be resolved): https://getsatisfaction.com/low/topic...

Thanks for your thoughts!

Replies

  1. Low 21 Apr 2015 16:09

    Is your Low Search Calender version up to date (v1.0.1)?

  2. Jesse Schutt 21 Apr 2015 16:10

    Yessir. Just pulled it from the repo this morning.

  3. Low 21 Apr 2015 16:20

    Hmm, I've seen the error before, but where?!

    Any chance you can push this to the dev server, for which you sent me the login creds earlier?

  4. Jesse Schutt 21 Apr 2015 16:38

    OK - I pushed it to the dev server. Try searching for something that exists, like "course".

    Thanks Low!

    Jesse Schutt 21 Apr 2015 16:44

    Should have mentioned that the search in discussion is on /events/

  5. Low 21 Apr 2015 17:18

    Can you try and download the (patched) version from Github (v1.0.2)? That should fix things.

  6. Jesse Schutt 21 Apr 2015 18:21

    Thank you! Out of curiosity, what was the issue?

  7. Low 21 Apr 2015 18:23

    Apparently, in certain cases, Calendar doesn't like it if the fixed_order parameter is set. It was by LS. Unsetting it in LSC solved the issue.

  8. Jesse Schutt 21 Apr 2015 18:42

    Low - Thanks for looking in to this issue. While it isn't erroring anymore, it doesn't appear to be doing a proper search either. I am not able to return anymore than 2 results. Occasionally it returns a single result, or a no-results, but the items that are returned are always the same regardless of the query.

  9. Low 21 Apr 2015 19:02

    When using calendar:method="cal", the Results tag will basically act just like the calendar:cal tag, but limited to the found keywords and categories. That means the default date range restrictions are still in place.

    I added a default:date_range_start="today" and default:show_months="9" to the tag, so it now gives you more events to show.

    You can also add the date range in the form (hidden or not), if you so wish.

  10. Jesse Schutt 21 Apr 2015 19:03

    Aha! That makes sense. Thanks!