[open-ils-commits] [GIT] Evergreen ILS branch rel_2_1 updated. e5b2b74c1f8fe9efe0cd62411dd2d27df672c47d

Evergreen Git git at git.evergreen-ils.org
Tue Mar 20 12:28:51 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_1 has been updated
       via  e5b2b74c1f8fe9efe0cd62411dd2d27df672c47d (commit)
      from  9143ad5d046d2a1c65f7901b4f22914b1107c744 (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 e5b2b74c1f8fe9efe0cd62411dd2d27df672c47d
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