Bug 16925 - Shelving location search in OPAC nests search term in single quotes for every level of search results.
Summary: Shelving location search in OPAC nests search term in single quotes for every...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: OPAC (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-14 18:07 UTC by Barton Chittenden
Modified: 2024-08-07 17:31 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Barton Chittenden 2016-07-14 18:07:18 UTC
NOTE: This bug does *NOT* occur in Chrome.

Prerequisites: 

1) Enough bibs loaded in the database having the same shelving location such that several pages of results will display. 
2) AdvancedSearchTypes must include

    loc

Steps to reproduce:
1/ Navigate to OPAC advanced search page in firefox or IE
2/ Click on ShelvingLocation tab
3/ Select one of the available locations and click search.
   (examples below are using the location CDB)
4/ Note that the breadcrumb is in the form
   Results of search  with limit(s): 'mc-loc:'CDB'',
   The URL contains limit=mc-loc%3ACDB
5/ Click Next
6/ Breadcrumb shows Results of search  with limit(s): 'mc-loc:''CDB'''
   URL contains limit=mc-loc%3A%27CDB%27

Every time you click Next, another layer of quotes is added around the shelving location in the breadcrumbs:

'mc-loc:'CDB''
'mc-loc:''CDB'''
'mc-loc:'''CDB''''

And the shelving location is nested a layer deeper in %27:

limit=mc-loc%3ACDB
limit=mc-loc%3A%27CDB%27
limit=mc-loc%3A%27%27CDB%27%27
Comment 1 David Cook 2019-02-21 00:21:32 UTC
I think I've seen this on the Zebra side...
Comment 2 SiobhanC 2019-04-26 12:51:43 UTC
I'm not sure if this is the exact same problem, but when trying to sort an Advanced Search that uses a shelf location, it does not sort. The search term becomes further nested, as described above.
Comment 3 SiobhanC 2019-04-26 12:52:20 UTC
I should have mentioned that this *is* happening in Chrome.
Comment 4 Katrin Fischer 2023-09-09 21:58:39 UTC
Amazingly, this is still valid :(