Summary: | Authority search options get shuffled around when you click on 'Search' | ||
---|---|---|---|
Product: | Koha | Reporter: | Andreas Roussos <arouss1980> |
Component: | Searching | Assignee: | Andreas Roussos <arouss1980> |
Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
Severity: | normal | ||
Priority: | P3 | CC: | fridolin.somers, martin.renvoize, nick, pierre-marc.thibault |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | Small patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Attachments: |
Authority search window before clicking on 'Search'
Authority search window after clicking on 'Search' Bug 21455: Authority search options get shuffled around when you click on 'Search' Bug 21455: Authority search options get shuffled around when you click on 'Search' Bug 21455: Authority search options get shuffled around when you click on 'Search' |
Description
Andreas Roussos
2018-09-30 09:37:03 UTC
Created attachment 79650 [details]
Authority search window before clicking on 'Search'
Created attachment 79651 [details]
Authority search window after clicking on 'Search'
Created attachment 79652 [details] [review] Bug 21455: Authority search options get shuffled around when you click on 'Search' In the staff client, when you perform an authority search the selected values for the 'Search all headings:' and 'Search entire record:' options get shuffled around when you click on the 'Search' button. This patch fixes that. Test plan: 1) Perform an authority search and set the 'Search all headings:' option to 'starts with'. 2) Click on the 'Search' button. 3) Notice how the 'Search all headings:' option is now 'contains', and 'starts with' has moved down to the 'Search entire record:' option. 4) Apply the patch. 5) Hit 'Search' again. This time the selected search options do not move around. Created attachment 80149 [details] [review] Bug 21455: Authority search options get shuffled around when you click on 'Search' In the staff client, when you perform an authority search the selected values for the 'Search all headings:' and 'Search entire record:' options get shuffled around when you click on the 'Search' button. This patch fixes that. Test plan: 1) Perform an authority search and set the 'Search all headings:' option to 'starts with'. 2) Click on the 'Search' button. 3) Notice how the 'Search all headings:' option is now 'contains', and 'starts with' has moved down to the 'Search entire record:' option. 4) Apply the patch. 5) Hit 'Search' again. This time the selected search options do not move around. Signed-off-by: Pierre-Marc Thibault <pierre-marc.thibault@inLibro.com> This doesn't work for me yet, when I search, the tab still jumps back to the first. (applied patch, restart all, reloaded the page mulitple times) Looking at the screenshots... I am in the wrong spot. I had checked the normal authority search. Filed a bug: Bug 21510 - Authority search always jumps back to the first search tab no matter what was searched for Created attachment 80167 [details] [review] Bug 21455: Authority search options get shuffled around when you click on 'Search' In the staff client, when you perform an authority search the selected values for the 'Search all headings:' and 'Search entire record:' options get shuffled around when you click on the 'Search' button. This patch fixes that. Test plan: 1) Perform an authority search and set the 'Search all headings:' option to 'starts with'. 2) Click on the 'Search' button. 3) Notice how the 'Search all headings:' option is now 'contains', and 'starts with' has moved down to the 'Search entire record:' option. 4) Apply the patch. 5) Hit 'Search' again. This time the selected search options do not move around. Signed-off-by: Pierre-Marc Thibault <pierre-marc.thibault@inLibro.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> (In reply to Katrin Fischer from comment #5) > This doesn't work for me yet, when I search, the tab still jumps back to the > first. (applied patch, restart all, reloaded the page mulitple times) My bad really, now that I re-read the bug description and test plan for the patch I realise I should have been more explicit. Nevertheless it's interesting to see how your testing led to the discovery of yet another authorities-related bug! ;-) Awesome work all! Pushed to master for 18.11 Pushed to 18.05.x for 18.05.05 Pushed to 17.11.x for 17.11.12 |