LISE help - search/filtering

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
johnboyuk1
Forum Members
Forum Members
Posts: 192
Joined: Mon Nov 26, 2018 3:09 pm

LISE help - search/filtering

Post by johnboyuk1 »

Hi all ... am having a real headache with LISE, I'm hoping someones been there before and knows the answer!

I'm trying to achieve a list of items that can be filtered in 2 ways - by 'place' and by 'qualification', I have a test set up to explain:

http://217.199.187.195/cpr-staging.uk/index.php

Problem number 1: I need 2 filter options, but can only get 1 to display.

The help file says:
Specify the fields whose values should be offered as filter options by listing the field's aliases comma separated
But I can only get one to show - here's my module code:

Code: Select all

{LISEPlacements action="search" filter="location, qualification"}
Problem 2 ... try this:

Set filter to location A and click button
In last that appears you should see 'place 1' and 'place 2'... click 'place 1' - you should see the detail page
Now click the 'return link'
And now click 'place 2'...

It doesnt work! You get the detail for place 1 instead?!

I am using the stock 'filter' search template, and 'search results' summary template

Anyone help?! Or maybe there's another module out there I could look at?
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1922
Joined: Mon Jan 29, 2007 4:47 pm

Re: LISE help - search/filtering

Post by Jo Morg »

Regarding Problem 1:
johnboyuk1 wrote:{LISEPlacements action="search" filter="location, qualification"}
Probably the space in the filter parameter. Try without spaces.
Regarding Problem 2: we'll need more details than that. I have been using that feature of LISE extensively without issues. The result list always have the correct links to each item in my tests.

PS: In any case, the return link there may not work at all if/when you setup pretty urls. I'll try to reproduce that in a vanilla install when I have some time.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
johnboyuk1
Forum Members
Forum Members
Posts: 192
Joined: Mon Nov 26, 2018 3:09 pm

Re: LISE help - search/filtering

Post by johnboyuk1 »

Hi Jo

Thanks for replying - took the space out, no change I'm afraid. Re the other problem - did you see the test link I posted where you can view in action?

http://217.199.187.195/cpr-staging.uk/
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1922
Joined: Mon Jan 29, 2007 4:47 pm

Re: LISE help - search/filtering

Post by Jo Morg »

Yes I did. But I'll try to reproduce it on a vanilla install. I don't think I ever saw that particular issue but I'll need to test.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
johnboyuk1
Forum Members
Forum Members
Posts: 192
Joined: Mon Nov 26, 2018 3:09 pm

Re: LISE help - search/filtering

Post by johnboyuk1 »

ok thanks - ultimately I will need pretty URLS - are you saying it wont work with that anyway?

From a usability point the user needs to be able to return / go back to their search results rather than having to start the search all over again

Guess I could look at a javascript history.back() method and see if that works instead

Any thoughts on the multiple filtering issue too?
johnboyuk1
Forum Members
Forum Members
Posts: 192
Joined: Mon Nov 26, 2018 3:09 pm

Re: LISE help - search/filtering

Post by johnboyuk1 »

Have just added js backmethod to the test - that might get me round the problem ... just need to sort the multiple filters!?
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1922
Joined: Mon Jan 29, 2007 4:47 pm

Re: LISE help - search/filtering

Post by Jo Morg »

johnboyuk1 wrote:are you saying it wont work with that anyway?

From a usability point the user needs to be able to return / go back to their search results rather than having to start the search all over again
Potentially not. Again I'd have to test. javascript history.back() is an option or at least a shortcut until I have time to confirm and debug the issue.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
johnboyuk1
Forum Members
Forum Members
Posts: 192
Joined: Mon Nov 26, 2018 3:09 pm

Re: LISE help - search/filtering

Post by johnboyuk1 »

Thanks Jo

I think I've realised why my multiple filters wont work too! I was mixing types - one field was a multi-select, the other a checkbox group - seems it doesn't like that... if I set both to checkbox groups it works!

Am going to flesh this out using the JS method and see if that will work for me

Thanks for talking this through with me - am sure I'll hit another snag somewhere so will keep this post open...
Post Reply

Return to “Modules/Add-Ons”