From be9051b2ff06f91336a084f0544c9cc326a54867 Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Sun, 18 Dec 2011 00:40:55 -0500 Subject: [PATCH] Enable TPAC to display records via HSTORE-based unapi Now that unapi requires HSTORE-based LIMIT and OFFSET arguments, take the simplest possible approach to get get_records_and_facets() working again by specifying acp as the limit type. Signed-off-by: Dan Scott --- Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm index e672eac1f7..eba77a3603 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm @@ -209,7 +209,7 @@ sub get_records_and_facets { $unapi_args->{flesh}, $unapi_args->{site}, $unapi_args->{depth}, - $unapi_args->{flesh_depth}, + 'acp=>' . $unapi_args->{flesh_depth}, ]} ) for @$rec_ids; -- 2.11.0