From ec3fba614d519d1e4f9178dafdc98133eb929148 Mon Sep 17 00:00:00 2001 From: miker Date: Wed, 2 Mar 2011 20:43:17 +0000 Subject: [PATCH] Call number sorting "before" the context needs to be segregated based on directly on the label, "here-and-after" on the bytea version. Testing bears this out, but more eyes would be appreciated. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19560 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/lib/OpenILS/Application/SuperCat.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/SuperCat.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/SuperCat.pm index 8a06ceb85..425d09823 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/SuperCat.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/SuperCat.pm @@ -299,7 +299,7 @@ sub cn_browse { if ($page <= 0) { my $before = $_storage->request( "open-ils.cstore.direct.asset.call_number.search.atomic", - { label => { "<" => { transform => "oils_text_as_bytea", value => ["oils_text_as_bytea", $label] } }, + { label => { "<" => $label }, owning_lib => \@ou_ids, deleted => 'f', @cp_filter @@ -422,7 +422,7 @@ sub cn_startwith { if ($page < 0) { my $before = $_storage->request( "open-ils.cstore.direct.asset.call_number.search.atomic", - { label => { "<" => { transform => "oils_text_as_bytea", value => ["oils_text_as_bytea", $label] } }, + { label => { "<" => $label }, owning_lib => \@ou_ids, deleted => 'f', @cp_filter -- 2.11.0