[open-ils-commits] ***SPAM*** [GIT] Evergreen ILS branch master updated. d21d1dac8f0212764de5a2c3e352ceebc2d63ef5
Evergreen Git
git at git.evergreen-ils.org
Sat Feb 8 04:38:48 EST 2014
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, master has been updated
via d21d1dac8f0212764de5a2c3e352ceebc2d63ef5 (commit)
from 66772286f65981bf7102a58b9e0990a77679986d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit d21d1dac8f0212764de5a2c3e352ceebc2d63ef5
Author: Kyle Tomita <tomitakyle at gmail.com>
Date: Wed Feb 5 16:23:18 2014 -0800
LP1155769: Items repeated in tpac display, others not visible
This was an issue with the query and ordering by a column that was
sometimes null (copy_number). Added barcode to be a sort rather than
replacing copy_number, per bshum's suggestion. Not replacing allows
libraries that use copy_number to continue to use them as well.
Signed-off-by: Kyle Tomita <tomitakyle at gmail.com>
Signed-off-by: Ben Shum <bshum at biblio.org>
diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm
index 630d252..ab674ef 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm
@@ -2045,7 +2045,8 @@ sub basic_opac_copy_query {
order_by => [
{class => 'aou', field => 'name'},
{class => 'acn', field => 'label_sortkey'},
- {class => 'acp', field => 'copy_number'}
+ {class => 'acp', field => 'copy_number'},
+ {class => 'acp', field => 'barcode'}
],
limit => $copy_limit,
-----------------------------------------------------------------------
Summary of changes:
.../perlmods/lib/OpenILS/Application/AppUtils.pm | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list