From: Mike Rylander Date: Mon, 30 May 2011 00:30:27 +0000 (-0400) Subject: Switch authority startwith index back to the pre-checking-deletedness version X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=3f4e0e6834a35d8bfca9b1e14fb51306f049e7f5;p=evergreen%2Fpines.git Switch authority startwith index back to the pre-checking-deletedness version Signed-off-by: Mike Rylander --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/SuperCat.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/SuperCat.pm index ff3d5584e1..1f0a46ae60 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/SuperCat.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/SuperCat.pm @@ -1660,11 +1660,8 @@ sub authority_tag_sf_startwith { my $before = $_storage->request( "open-ils.cstore.json_query.atomic", { select => { afr => [qw/record value/] }, - from => { 'afr', 'are' }, - where => { - '+afr' => { tag => \@ref_tags, subfield => $subfield, value => { '<' => $value } }, - '+are' => { deleted => 'f' } - }, + from => 'afr', + where => { tag => \@ref_tags, subfield => $subfield, value => { '<' => $value } }, order_by => { afr => { value => 'desc' } }, limit => $ref_limit, offset => $offset, @@ -1677,11 +1674,8 @@ sub authority_tag_sf_startwith { my $after = $_storage->request( "open-ils.cstore.json_query.atomic", { select => { afr => [qw/record value/] }, - from => { 'afr', 'are' }, - where => { - '+afr' => { tag => \@ref_tags, subfield => $subfield, value => { '>=' => $value } }, - '+are' => { deleted => 'f' } - }, + from => 'afr', + where => { tag => \@ref_tags, subfield => $subfield, value => { '>=' => $value } }, order_by => { afr => { value => 'asc' } }, limit => $ref_limit, offset => $offset,