From: gmc Date: Fri, 8 Oct 2010 01:34:08 +0000 (+0000) Subject: do not apply superpage limit inside bib search joins X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=3d0c1a7a25783534ff97e013a05f0fce7c253560;p=evergreen%2Fpines.git do not apply superpage limit inside bib search joins Oddly, empirical evidence suggests that this might actually be faster, and if this pans out, search results will definitely be more complete. Signed-off-by: Galen Charlton git-svn-id: svn://svn.open-ils.org/ILS/trunk@18233 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Storage/Driver/Pg/QueryParser.pm b/Open-ILS/src/perlmods/OpenILS/Application/Storage/Driver/Pg/QueryParser.pm index 76371bed4d..94db0a4780 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Storage/Driver/Pg/QueryParser.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Storage/Driver/Pg/QueryParser.pm @@ -599,7 +599,8 @@ sub flatten { @bump_fields = @{$self->QueryParser->search_fields->{$node->classname}}; } - $from .= "\n\t\tLIMIT $core_limit\n\t) AS $talias ON (m.source = ${talias}.source)"; + ###$from .= "\n\t\tLIMIT $core_limit"; + $from .= "\n\t) AS $talias ON (m.source = ${talias}.source)"; my %used_bumps;