Override search results page

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Override search results page

This topic contains 40 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 7 years, 9 months ago.

Viewing 11 posts - 31 through 41 (of 41 total)
  • Author
    Posts
  • #7307
    optimalpartners
    optimalpartners
    Participant

    It looks like that helped, however I noticed I still get one result in the first few results that is not from that feed, it is from another. And when I keep looking to the next pages of results I’m noticing more results from non-jobs feeds.

    Also, I was testing search on the production side and noticed in the main search that the results that come up in the preview differ from the ones in the main search results page. I’ve attached a screenshot, but for example I tried using the filter to search for jobs and got some results but then the full results page had no results. I tested all other filters and the Jobs filter is the only one that isn’t working properly. All the others return results. If you need access to the production site, you can use the same information as posted originally at blog.optimal-partners.com

    Attachments:
    You must be logged in to view attached files.
    #7371
    optimalpartners
    optimalpartners
    Participant

    Just following up on this, wondering if you had a chance to take a look

    #7422
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    It’s probably because of the modifications I made through the ticket. I’m not sure if I can keep fixing the issues, as I’m afraid always something new will come up.

    As I have mentioned before, there is a good chance that making a category and post type filter non-exclusive will probably cause huge problems. Taxonomies are attached to post types, and currently the plugin tries to “guess” which taxonomy term matches which post type even if it’s not specified, or it’s null value.

    I will of course take another look, but as I said cannot promise anything. I cannot guarantee proper functioning for a customization.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #7607
    optimalpartners
    optimalpartners
    Participant

    Hi, sorry for the late response, we’ve been working on lots of different features. We actually decided not to include the jobs search in our main search, so that resolves one issue. The other issue with the separate jobs search, and after updating to the newest version of the plugin, I somehow got it to work properly on our development site, so I imported the search instance (after updating the plugin on development) and tested and now I’m not getting any results. At first I noticed some of the settings were different, for example some of the excluded taxonomy terms were included, so I changed that and I’m getting no results.

    Also just to clarify, the customization was in order to have the categories and post types work exclusively of each other as filters if I understand correctly. That doesn’t seem like we need that anymore because of the filters we are now using. If you let me know what to change back I can make the change. I do not want a customization which we may not need to be causing some of these things to be breaking.

    Thank you for all your help!

    #7634
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    If you update the plugin, the customization changes will be gone automatically, that should resolve that problem.

    Import/Export will only work if both the staging and the Production runs the exact same plugin version AND if the production is indeed the exact same copy of the staging (including the database). It’s because for example categories and all other terms (and other things as well) can have very different IDs if the database is not exactly the same row-to row. The search options store the excluded category IDs, included term IDs etc.., but if those are different or non-existent on the production, then it’s not going to work. There is no way to resolve this unfortunately, because the term ID is the one and only unique field to identify a category or term or any object in wordpress.

    If that’s the case, I rather recommend mimicing the configuration on the production instead of export/import to avoid object ID collisions, which can cause plugin malfunction.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #7689
    optimalpartners
    optimalpartners
    Participant

    Thank you so much, you’ve been a huge help! Everything is working on both my development and production sites.

    One other question is regarding the filters. When I select certain filters and then search, if I want to search again with the same settings I have to re-select what I’m looking for. I could not find a setting to save the search settings, but I’m wondering if there is a possibility for that to be a future enhancement. Also similar is when I search from my separate jobs page that has a separate search, once you search it sends you to the search results page and the normal full site search shows there. Any recommendation so that we can keep the search form that they searched from?

    #7694
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    I’m glad it’s working now!

    Well, it had been suggested by others as well, that after redirection to the results page the settings should stay as selected previously. Currently there is no way of changing it or modifying it, as at the time of designing I wasn’t thinking of this possibility yet. I’m definitely going to introduce this change as soon as possible.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #7747
    optimalpartners
    optimalpartners
    Participant

    Just a couple quick questions. A few things came up in testing and we were wondering if you have a target date or estimate date for:
    -filter settings staying the same after going to the search (including if its a different search instance, such as from my jobs page, the main search page shows the main search always)
    -grouping results on the search page/prioritizing types of results, (maybe even sorting those types of results once on the search page?? that I realize might be a stretch, but definitely would be a cool feature!)

    Also, just curious if we can have the custom post type selectors under front end search settings show above the “default values” (which in our case we are just using pages)

    Also as a side note, if you aren’t aware of what might be causing this problem, it’s ok since we will probably be copying our development site over anyway, but on our production site, search works perfectly. On development for some reason the preview results work, but on the search page, it comes up with several page numbers and doesn’t show any results. Seems strange. But like I said we should be refreshing our development blog with the functioning production blog soon if you are unable to determine what the problem is.

    Also I left a review for you on codecanyon. Thank you again for all your help! =)

    #7801
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Thank you very much for the fantastic review!

    Looking at the list of upcoming features:
    1. This is either the upcoming update or the one after that. Although I doubt that I will be able to implement it across different search instances.
    2. Grouping on the search results page might not happen. There are too many factors to consider, and I’m not sure if it is even possible to somehow change the final layout of the search page, as it’s fully outputted based on the search.php file in the theme directory.

    On the Frontend Search Settings -> Ordering panel there is a field order option. Try to drag the custom_post_types item to the top, and check if that changes anything: https://i.imgur.com/7lgO5t1.png

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #7809
    optimalpartners
    optimalpartners
    Participant

    Ok thank you so much. Also just curious if there is any way to allow for special characters in search terms? We had someone testing the search and she tried using &
    I realize it could be an issue because of the code, as I noticed anything after the & was not searched. Not a big issue, just thought I’d check.

    #7854
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    I will definitely check this, it should work without problems. I’ve put it on potential bugs list, will do some test for the upcoming release.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


Viewing 11 posts - 31 through 41 (of 41 total)

You must be logged in to reply to this topic.