Viewing 15 posts - 1 through 15 (of 18 total)
  • Author
    Posts
  • woluweb Friend
    #188185

    Hi,

    I face here a strange problem.
    On the demo version of JA Mero, the search filter does work.
    But on my site, whatever filter I set to limit the search (articles, …), the filters are reset when the results are shown (and the results are indeed shown ignoring the filters).

    See example on following screenshot :

    How comes ?
    Could there be some conflict with the Template or with some Extension ?

    Txs for your help !
    Marc


    1. 2013-06-12_16h33_54
    phong nam Friend
    #495737

    Hi,

    <blockquote>How comes ? Could there be some conflict with the Template or with some Extension ?</blockquote>
    I will suggest your more accurate answer if you send me PM with your admin login for checking this weird issue.

    woluweb Friend
    #495786

    Hi,
    I have just tested a brand new (multilingual) website with JA Brisk.
    (Just one article in each of the 3 languages, one menu item per language)

    And I already have this strange behaviour…

    I PM you my details,
    Txs a lot for your kind support,

    Marc

    phong nam Friend
    woluweb Friend
    #495903

    Hi Leo,

    Txs for having looked.
    I know, it was not smart from me, but given the fact the filter would not work, I had disabled all the search plugins except one…
    So of course, the search only was not applicable.

    I have reactivated all search plugins and now you can test again.
    And I swear 🙂 : the “search only” checkboxes are always “reset” and the result pages always shows *all* results no matter which “search only” I had selected…

    Search Only:
    Documents Categories Contacts Articles Newsfeeds Weblinks

    I have done my best to illustrate further the problem.
    Since I have the samed behaviour on Brisk template, here is the test

    with official demo, if I filter on “weblinks”, I see it in the url and the results are indeed filtered
    http://joomla25-templates.joomlart.com/ja_brisk/using-joomla/extensions/components/search-component/search.html?searchword=contact&ordering=newest&searchphrase=all&limit=20&areas[0]=weblinks

    with this site, if I filter on “weblinks”, I see it in the url but the results are not filtered…
    http://kvi-crme.be/en/component/search/?searchword=contact&ordering=newest&searchphrase=all&limit=20&areas[0]=weblinks

    I hope this helps to define the problem (and to find its solution 🙂

    Marc

    phong nam Friend
    #496816

    Hi Marc,

    <blockquote>with this site, if I filter on “weblinks”, I see it in the url but the results are not filtered…
    http://kvi-crme.be/en/component/sear…limit=20&areas[0]=weblinks</blockquote>
    You are right. I saw your issue. I have transfered this search issue to our dev team for better solution now. I will back & lets you know the solution in details. Again, sorry for my lateness.

    Leo

    woluweb Friend
    #496922

    txs for the feedback. I was indeed starting to be worried by the silence 🙂
    At least I know something is happening. Let me know as soon as a cause (and a solution) is found !
    Yours,
    Marc

    phong nam Friend
    #496951

    Hi Marc,

    Thank you. I will come back soon after our developer fixes this search issue.

    Wall Crasher Developer
    #497246

    Hi Marc,

    This is an issue of Joomla 3.0.
    http://forum.joomla.org/viewtopic.php?f=728&t=766512

    You can fix this issue by open
    componentscom_searchmodelssearch.php

    and replace

    $areas = $app->input->get(‘areas’);

    with

    $areas = $app->input->get(‘areas’, null, ‘array’);

    on line 73

    Hope it helps,

    Regards

    woluweb Friend
    #497266

    Hi Wall Crasher,

    This looked very promising & I was excited about testing it 🙂
    But strange enough, it worked on the site mentionned here above, but not on my other site.

    I investigate further this aspect & come back with more details !

    woluweb Friend
    #497352

    So so, I have made my investigation :

    The change in search.php
    – works perfectly on the site mentionned above !
    – does not work on the following site :

    http://cluster006.ovh.net/~upcbvk/index.php?searchword=projet&ordering=newest&searchphrase=all&limit=100&areas%5B0%5D=contacts&option=com_search&lang=fr

    I don’t understand why it works on one site and not on the other one.

    A few more useful details :
    – I had cleaned the cache (website & browser)
    – I even disabled the search plugin of eDocman, just in case it would have interfered
    – I even thought of checking if there was some override in templatesja_merohtml. But no com_search folder there, just a com_finder

    So I am desperate, I have no clue for this…

    Txs in advance for your help & suggestions !

    PS : By the way, isn’t this improvement in search.php already integrated in Joomla 3.1 ? I read it was a bug of 3.0.

    Wall Crasher Developer
    #497417

    Hi woluweb,

    This is an issue on J3.1 also.

    You can fix with solution as in my post
    http://www.joomlart.com/forums/topic/search-filter-not-working-always-reset-conflict-with-template-or-extensions/#post-497246

    Regards

    woluweb Friend
    #497446

    Hi @WallCrasher,

    That’s exactly what I’ve done : made the same change in search.php.
    Both sites use 3.1, but as I said it works on the first but not on the second site…

    Any idea ?

    Txs in advance,

    Marc

    Wall Crasher Developer
    #497451

    Hi woluweb,

    I have checked on your site.
    The plugin ‘System – NoNumber Framework’ is the source of problem.
    I have disabled it. Please check again.

    Regards

    woluweb Friend
    #497694

    Waouwww, I am totally impressed by this one !

    You are totally right : I have tested with and without the “System – NoNumber Framework” (which is used by the extension “Cache Cleaner” for the other people reading us).

    This is exactly it : once “NoNumber Framework” disabled, the search reacts totally normally and takes into account the “filters” on the searches !

    If you ever pass in Brussels, there is a fresh beer waiting for you !

    Txs again @WallCrasher. You made my day 🙂

Viewing 15 posts - 1 through 15 (of 18 total)

This topic contains 18 replies, has 3 voices, and was last updated by  woluweb 10 years, 10 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum