[open-ils-commits] [GIT] Evergreen ILS branch rel_2_0 updated. 73210058130eb5784f7aa2aed5c6c4f173a4b235

Evergreen Git git at git.evergreen-ils.org
Tue Mar 20 12:29:35 EDT 2012


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_0 has been updated
       via  73210058130eb5784f7aa2aed5c6c4f173a4b235 (commit)
      from  44bd6367fa8bc8e0283954ace17c7f1555035eb2 (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 73210058130eb5784f7aa2aed5c6c4f173a4b235
Author: Bill Erickson <berick at esilibrary.com>
Date:   Wed Feb 1 13:53:55 2012 -0500

    Paging repairs for Event definition admin UI
    
    If there are multiple event definitions with the same name that lie along
    the page boundaries, it's possible to page through event definitions
    seeing some def's multiple times and others never.  This is a result of
    sorting solely on event def. name when fetching event def's for display.
    This patch adds secondary (and tertiary, and quaternary, and quinary)
    sort columns as tie breakers to guarantee a unique set of defs across
    pages.
    
    Signed-off-by: Bill Erickson <berick at esilibrary.com>
    Signed-off-by: Mike Rylander <mrylander at gmail.com>

diff --git a/Open-ILS/web/js/ui/default/conify/global/action_trigger/event_definition.js b/Open-ILS/web/js/ui/default/conify/global/action_trigger/event_definition.js
index 1eba4a6..2867bb1 100644
--- a/Open-ILS/web/js/ui/default/conify/global/action_trigger/event_definition.js
+++ b/Open-ILS/web/js/ui/default/conify/global/action_trigger/event_definition.js
@@ -17,7 +17,7 @@ function loadEventDef() {
     eventDefGranularity.attr('value', null);
     edGrid.overrideEditWidgets.granularity = eventDefGranularity;
     edGrid.overrideEditWidgets.granularity.shove = {"create": ""};
-    edGrid.loadAll({order_by:{atevdef : 'name'}}); 
+    edGrid.loadAll({order_by:{atevdef : 'name, owner, hook, reactor, delay'}});
     openils.widget.Textarea.width = '600px';
     openils.widget.Textarea.height = '600px';
     edGrid.overrideEditWidgetClass.template = 'openils.widget.Textarea';

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

Summary of changes:
 .../global/action_trigger/event_definition.js      |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list