[open-ils-commits] ***SPAM*** [GIT] Evergreen ILS branch rel_2_5 updated. bc0a3bed1fcca684d96a925547b962d597cdc692
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, rel_2_5 has been updated
via bc0a3bed1fcca684d96a925547b962d597cdc692 (commit)
from 9f5d177da1549c5b4dfef310d7f497434580651c (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 bc0a3bed1fcca684d96a925547b962d597cdc692
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 5a6d385..7dd658b 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm
@@ -2038,7 +2038,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