LP#1694497: fix record links on 2nd+ page of grouped results
authorGalen Charlton <gmc@equinoxinitiative.org>
Tue, 30 May 2017 19:51:23 +0000 (15:51 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Fri, 18 Aug 2017 11:57:47 +0000 (07:57 -0400)
commit94ddbca48b2b6c6e7c71bb1a853dc64d5cf51844
tree0388d39c6d818fcfafb87e714e4338de9036f648
parent747adeceed650e9cb37514df08604068f794e2c5
LP#1694497: fix record links on 2nd+ page of grouped results

This patch fixes a bug wherein the second (and subsequent)
pages of search results in the public catalog (when group
formats and editions is in effect) does not correctly generate
links to hits that are not part of of a multi-bib metarecords.

To test
-------
1. Keyword search concerto for "piano"
2. Check the box for "Group formats and Editions"
3. Click Page 2
4. Click any result that is not a group (missing the parentheses after
   the title). You will get redirected to the my account page.
5. Apply the patch and do steps #1-4 again. This time, you should
   end up on the record details page.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm