[open-ils-commits] [GIT] Evergreen ILS branch master updated. 1127be90412dc57c7e318286a4f1e9312417478f

Evergreen Git git at git.evergreen-ils.org
Tue Mar 20 12:28:21 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, master has been updated
       via  1127be90412dc57c7e318286a4f1e9312417478f (commit)
      from  7d66c78634d3b4bff7b34fcbb06031254729043c (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 1127be90412dc57c7e318286a4f1e9312417478f
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