OPAC Browse: Fix browse interface's use of hits-per-page user setting
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Thu, 18 Jul 2013 18:52:03 +0000 (14:52 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Thu, 18 Jul 2013 18:52:03 +0000 (14:52 -0400)
commitca2696640c78ebcfb03e22a62920dbe7fc548b52
tree9d645d49a357dfc5406e77bcd46de47ba40ba27f
parent8258037d555d0af7873c4ecc0f788d99720baac5
OPAC Browse: Fix browse interface's use of hits-per-page user setting

The code that consults the user setting 'opac.hits_per_page' to set a
default number of results to show in the browse interface was faulty.

It failed to account for the opac.hits_per_page setting being configured
for storage in a JSON-encoded string. My own earlier testing missed
this because I had set opac.hits_per_page with a plain number in the
database.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Browse.pm