[Bug 20078] New: Indexes 'arl' (Accelerated reading level) and 'arp' (Accelerated reading point) not usable in search menus.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20078 Bug ID: 20078 Summary: Indexes 'arl' (Accelerated reading level) and 'arp' (Accelerated reading point) not usable in search menus. Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Searching - Zebra Assignee: koha-bugs@lists.koha-community.org Reporter: barton@bywatersolutions.com The indexes 'arl' (Accelerated reading level) and 'arp' (Accelerated reading point) are not listed in C4::Search::getIndexes, and therefore cannot be used in the koha drop down menus. To re-create: Find a bib with 526$c and 526$d populated, e.g. +---------------+--------------+-------------+-------------+ | title | biblionumber | 526$c (arl) | 526$d (arp) | +---------------+--------------+-------------+-------------+ | Star flight / | 1347 | 5.5 | 14 | +---------------+--------------+-------------+-------------+ Entering the following in the search bar works: arl:5.5 as does arp:14 However entering the following in intranetuserjs: $(document).ready(function(){ // Add Accelerated Reading Level to advanced search if (window.location.href.indexOf("catalogue/search.pl") > -1) { $(".advsearch").append('<option value="arl">Accelerated Reading Level</option>'); } // Add Accelerated Reading Point to advanced search if (window.location.href.indexOf("catalogue/search.pl") > -1) { $(".advsearch").append('<option value="arp">Accelerated Reading Point</option>'); } }); Then running an advanced search using the respective values of Accelerated Reading Level and Accelerated Reading Point will fail. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20078 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |katrin.fischer@bsz-bw.de Keywords| |Academy -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20078 Nick Clemens <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Patch complexity|--- |Trivial patch Status|NEW |Needs Signoff -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20078 --- Comment #1 from Nick Clemens <nick@bywatersolutions.com> --- Created attachment 71439 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=71439&action=edit Bug 20078: Add accelerated reading indexes to getIndexes To test: 1 - Find a bib with 526$c and 526$d populated, or populate them e.g. 526$a 5.5 | 526$d 14 2 - Try searching for 'arl:5.5' or 'arp:14' 3 - Your record should be returned in results 4 - Add the indexes as dropdowns by entering the following in intranetuserjs: $(document).ready(function(){ // Add Accelerated Reading Level to advanced search if (window.location.href.indexOf("catalogue/search.pl") > -1) { $(".advsearch").append('<option value="arl">Accelerated Reading Level</option>'); } // Add Accelerated Reading Point to advanced search if (window.location.href.indexOf("catalogue/search.pl") > -1) { $(".advsearch").append('<option value="arp">Accelerated Reading Point</option>'); } }); 5 - Search using these in the dropdown, your record will not be found 6 - Apply patch 7 - Repeat searches directly and by using dropdown, your record should be returned. 8 - prove t/db_dependent/Search.t -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20078 Nick Clemens <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nick@bywatersolutions.com Assignee|koha-bugs@lists.koha-commun |nick@bywatersolutions.com |ity.org | -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20078 --- Comment #2 from Nick Clemens <nick@bywatersolutions.com> --- Created attachment 79431 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=79431&action=edit Bug 20078: Add accelerated reading indexes to getIndexes To test: 1 - Find a bib with 526$c and 526$d populated, or populate them e.g. 526$a 5.5 | 526$d 14 2 - Try searching for 'arl:5.5' or 'arp:14' 3 - Your record should be returned in results 4 - Add the indexes as dropdowns by entering the following in intranetuserjs: $(document).ready(function(){ // Add Accelerated Reading Level to advanced search if (window.location.href.indexOf("catalogue/search.pl") > -1) { $(".advsearch").append('<option value="arl">Accelerated Reading Level</option>'); } // Add Accelerated Reading Point to advanced search if (window.location.href.indexOf("catalogue/search.pl") > -1) { $(".advsearch").append('<option value="arp">Accelerated Reading Point</option>'); } }); 5 - Search using these in the dropdown, your record will not be found 6 - Apply patch 7 - Repeat searches directly and by using dropdown, your record should be returned. 8 - prove t/db_dependent/Search.t -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20078 --- Comment #3 from Nick Clemens <nick@bywatersolutions.com> --- Created attachment 79434 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=79434&action=edit Bug 20078: (follow-up) Prevent conflict from attribute duplication To test: 1 - Apply first patch 2 - Attempt searching by arp, no results 3 - Apply this patch 4 - Copy bib1.att and ccl.properties to the correct locations 5 - Restart zebra 6 - Rebuild indexes 7 - Search agian, success! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20078 Nick Clemens <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #71439|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20078 Barton Chittenden <barton@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20078 Barton Chittenden <barton@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #79431|0 |1 is obsolete| | --- Comment #4 from Barton Chittenden <barton@bywatersolutions.com> --- Created attachment 80646 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=80646&action=edit Bug 20078: Add accelerated reading indexes to getIndexes To test: 1 - Find a bib with 526$c and 526$d populated, or populate them e.g. 526$a 5.5 | 526$d 14 2 - Try searching for 'arl:5.5' or 'arp:14' 3 - Your record should be returned in results 4 - Add the indexes as dropdowns by entering the following in intranetuserjs: $(document).ready(function(){ // Add Accelerated Reading Level to advanced search if (window.location.href.indexOf("catalogue/search.pl") > -1) { $(".advsearch").append('<option value="arl">Accelerated Reading Level</option>'); } // Add Accelerated Reading Point to advanced search if (window.location.href.indexOf("catalogue/search.pl") > -1) { $(".advsearch").append('<option value="arp">Accelerated Reading Point</option>'); } }); 5 - Search using these in the dropdown, your record will not be found 6 - Apply patch 7 - Repeat searches directly and by using dropdown, your record should be returned. 8 - prove t/db_dependent/Search.t Signed-off-by: Margie Sheppard - Central Kansas Library System CKLS <msheppard@ckls.org> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20078 Barton Chittenden <barton@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #79434|0 |1 is obsolete| | --- Comment #5 from Barton Chittenden <barton@bywatersolutions.com> --- Created attachment 80647 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=80647&action=edit Bug 20078: (follow-up) Prevent conflict from attribute duplication To test: 1 - Apply first patch 2 - Attempt searching by arp, no results 3 - Apply this patch 4 - Copy bib1.att and ccl.properties to the correct locations 5 - Restart zebra 6 - Rebuild indexes 7 - Search agian, success! Signed-off-by: Margie Sheppard - Central Kansas Library System CKLS <msheppard@ckls.org> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20078 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Patch complexity|Trivial patch |Small patch Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20078 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #80646|0 |1 is obsolete| | --- Comment #6 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Created attachment 81308 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=81308&action=edit Bug 20078: Add accelerated reading indexes to getIndexes To test: 1 - Find a bib with 526$c and 526$d populated, or populate them e.g. 526$a 5.5 | 526$d 14 2 - Try searching for 'arl:5.5' or 'arp:14' 3 - Your record should be returned in results 4 - Add the indexes as dropdowns by entering the following in intranetuserjs: $(document).ready(function(){ // Add Accelerated Reading Level to advanced search if (window.location.href.indexOf("catalogue/search.pl") > -1) { $(".advsearch").append('<option value="arl">Accelerated Reading Level</option>'); } // Add Accelerated Reading Point to advanced search if (window.location.href.indexOf("catalogue/search.pl") > -1) { $(".advsearch").append('<option value="arp">Accelerated Reading Point</option>'); } }); 5 - Search using these in the dropdown, your record will not be found 6 - Apply patch 7 - Repeat searches directly and by using dropdown, your record should be returned. 8 - prove t/db_dependent/Search.t Signed-off-by: Margie Sheppard - Central Kansas Library System CKLS <msheppard@ckls.org> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20078 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #80647|0 |1 is obsolete| | --- Comment #7 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Created attachment 81309 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=81309&action=edit Bug 20078: (follow-up) Prevent conflict from attribute duplication To test: 1 - Apply first patch 2 - Attempt searching by arp, no results 3 - Apply this patch 4 - Copy bib1.att and ccl.properties to the correct locations 5 - Restart zebra 6 - Rebuild indexes 7 - Search agian, success! Signed-off-by: Margie Sheppard - Central Kansas Library System CKLS <msheppard@ckls.org> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20078 --- Comment #8 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Created attachment 81310 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=81310&action=edit Bug 20078: (QA follow-up) Correct attribute in PQF.pm -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20078 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Indexes 'arl' (Accelerated |Indexes 'arl' (Accelerated |reading level) and 'arp' |reading level) and 'arp' |(Accelerated reading point) |(Accelerated reading point) |not usable in search menus. |not usable in search menus --- Comment #9 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- It looks li -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20078 Nick Clemens <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to Master --- Comment #10 from Nick Clemens <nick@bywatersolutions.com> --- Awesome work all! Pushed to master for 18.11 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20078 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to Master |RESOLVED Resolution|--- |FIXED CC| |martin.renvoize@ptfs-europe | |.com --- Comment #11 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Enhancement, will not be backported to 18.05.x series. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20078 --- Comment #12 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- *** Bug 17832 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20078 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nengard@gmail.com --- Comment #13 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- *** Bug 16924 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20078 Nick Clemens <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |32416 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32416 [Bug 32416] arp - Accelerated reader point searches fail due to conflicting attribute -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org