From: phasefx Date: Thu, 13 Nov 2008 16:07:58 +0000 (+0000) Subject: syntax X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=a3672c03387e0ad269d643497ee43245f3de9f39;p=Evergreen.git syntax git-svn-id: svn://svn.open-ils.org/ILS/trunk@11161 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/Application/SuperCat.pm b/Open-ILS/src/perlmods/OpenILS/Application/SuperCat.pm index 88dedad9d5..74382e91d9 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/SuperCat.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/SuperCat.pm @@ -356,7 +356,7 @@ sub new_books_by_item { { select => { acn => ['record'], acp => [{ aggregate => 1 => transform => max => column => create_date => alias => 'create_date'}] }, - from => { 'acn' => { 'acp' : { field => call_number => fkey => 'id' } } }, + from => { 'acn' => { 'acp' => { field => call_number => fkey => 'id' } } }, where => { '+acp' => { deleted => 'f', (@ou_ids) ? ( circ_lib => \@ou_ids) : () }, '+acn' => { record => { '>' => 0 } }, @@ -455,7 +455,7 @@ sub tag_sf_browse { where => { '+acn' => { record => { '=' => { '+mfr' => 'record' } } }, '+acp' => { deleted => 'f', (@ou_ids) ? ( circ_lib => \@ou_ids) : () } - } + }, limit => 1 } }, @@ -484,7 +484,7 @@ sub tag_sf_browse { where => { '+acn' => { record => { '=' => { '+mfr' => 'record' } } }, '+acp' => { deleted => 'f', (@ou_ids) ? ( circ_lib => \@ou_ids) : () } - } + }, limit => 1 } },