[open-ils-commits] [GIT] Evergreen ILS branch rel_3_2 updated. bc9ca9b6564cee06f3ed8ea7baf24aafbaad2c2b

Evergreen Git git at git.evergreen-ils.org
Fri May 24 17:28:42 EDT 2019


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_3_2 has been updated
       via  bc9ca9b6564cee06f3ed8ea7baf24aafbaad2c2b (commit)
      from  6befdfa32455de745e7912e4c1f4cfce626f703c (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 bc9ca9b6564cee06f3ed8ea7baf24aafbaad2c2b
Author: Dan Pearl <dpearl at cwmars.org>
Date:   Tue Apr 10 14:45:47 2018 -0400

    LP1760893 Add Holdings Part dropdown should list items in order
    
    Without a defined sort, the Part dropdown when editing a holding simply
    displays in database order.  Let's be more deterministic about it.
    
    In this case, while slightly surprising, consensus opinion was that
    reverse order on label_sortkey provides the best overall usability.
    This is obviously true on records with many parts, but can help in all
    cases.
    
    Signed-off-by: Dan Pearl <dpearl at cwmars.org>
    Signed-off-by: Dan Wells <dbw2 at calvin.edu>

diff --git a/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js b/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js
index 88093a951e..44a2360ae2 100644
--- a/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js
+++ b/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js
@@ -272,7 +272,8 @@ function(egCore , $q) {
 
         return egCore.pcrud.search('bmp',
             {record : rec, deleted : 'f'},
-            null, {atomic : true}
+            {order_by: {bmp : 'label_sortkey DESC'}},
+            {atomic : true}
         ).then(function(list) {
             service.bmp_parts[rec] = list;
             return list;

-----------------------------------------------------------------------

Summary of changes:
 Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list