Search function – how to allow date range

Home Forums Calendar Products Events Calendar PRO Search function – how to allow date range

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1021955
    clarity
    Participant

    Setting up our first calendar. The first issue we see is in the search field. The search bar has 3 options… Events in DATE, Search TEXT and Near LOCATION.

    Whenever we put any keyword into the search field, it always searches within the current month, unless we select a specific month. We want our users to be able to look for a keyword in upcoming/future months and dates. How can we set this so you are not searching just in the current or a specific month?

    #1022210
    George
    Participant

    How can we set this so you are not searching just in the current or a specific month?

    Hey @clarity, I’m sorry to bear this news but there is unfortunately no straightforward way to set this; at this time, altering this functionality would take some extensive code customization deep in the workings of the plugins 🙁

    We cannot help with customizations so unfortunately, at this time the best options are to customize the code directly on your own if you’re familiar with that, or to hire a professional to help make the customizations if you’re not.

    I’m sorry about this, @Clarity!

    Please let me know if I can help with anything else.

    — George

    #1022242
    clarity
    Participant

    This is absolutely crazy to me… I cannot understand why anyone would only want to search within what they can see on the screen. The purpose of a calendar is to find events. If this software cannot let people search throughout the calendar, what is the search feature for?

    I also cannot imagine why this would not be a priority feature for the software. Is this something in development? I would hate to spend time and money implementing a modification to the code only to have it be replaced in the near future.

    What assistance can the company give in making these mods? Is there any direction the development team can help with?

    We paid for the calendar and the filter bar. Now I am questioning if the client will even accept this as a solution.

    Thanks for any help you can give…

    #1022591
    George
    Participant

    Hi @clarity,

    If you are interested in making the code customizations to alter these features, I elaborated a bit more on the steps required to do so in this other forum thread → https://theeventscalendar.com/support/forums/topic/search-all-events-not-just-the-events-that-month/

    We’ve had to make some challenging decisions about these features because some users are extremely upset about the performance issues of “searching all events”, and they have many events, so limiting searches by month helps drastically with performance. But then other users are – understandably – frustrated by the change in functionality.

    To be clear, this limitation by month only happens in the Month View. If you go to /events/list, for example, and search for the same thing, it will query outside the current month.

    — George

    #1022714
    clarity
    Participant

    George…

    What would solve this problem is the ability for searches to go right to LIST mode. We don’t want to show our calendar in list mode initially, but we don’t want it to search in month only mode either. How can we accomplish this?

    When a user does a search, if there are results beyond the current month, go to list mode (or even a switch on the search bar telling the user as such).

    Thanks…

    • This reply was modified 10 years, 5 months ago by clarity.
    #1023430
    George
    Participant

    Unfortunately accomplishing the redirect you’re describing would take, well, a redirect of some sort. You could implement one on the server or PHP-level or “fake” one using JavaScript, though in both cases of course custom coding is still required just like editing the core plugin files would be 🙁

    I’m really sorry @clarity, at this time there is no way around this other than custom coding! We have been discussing changes to the Month View search features, so it may change in future releases, but this is unfortunately the situation for now 🙁

    Sincerely,
    George

    #1075496
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Search function – how to allow date range’ is closed to new replies.