[open-ils-commits] [GIT] Evergreen ILS branch master updated. bf91e76a5aa38bfeae0c63ed1d2d27943051fb5d
Evergreen Git
git at git.evergreen-ils.org
Fri Mar 23 16:03:14 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 bf91e76a5aa38bfeae0c63ed1d2d27943051fb5d (commit)
from f6a2c84f3273fcf0f6c0067229d6356fecd41582 (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 bf91e76a5aa38bfeae0c63ed1d2d27943051fb5d
Author: Bill Erickson <berick at esilibrary.com>
Date: Thu Mar 22 11:53:55 2012 -0400
PermaCrud.js flesh support
Now that open-ils.pcrud supports fleshing, allow flesh params to pass
through PermaCrud.js
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/dojo/openils/PermaCrud.js b/Open-ILS/web/js/dojo/openils/PermaCrud.js
index 1869248..ca38357 100644
--- a/Open-ILS/web/js/dojo/openils/PermaCrud.js
+++ b/Open-ILS/web/js/dojo/openils/PermaCrud.js
@@ -148,6 +148,8 @@ if(!dojo._hasResource["openils.PermaCrud"]) {
if (opts.limit) order_by.limit = opts.limit;
if (opts.offset) order_by.offset = opts.offset;
if (opts.join) order_by.join = opts.join;
+ if (opts.flesh) order_by.flesh = opts.flesh;
+ if (opts.flesh_fields) order_by.flesh_fields = opts.flesh_fields;
var method = 'open-ils.pcrud.search.' + fm_class;
if(!opts.streaming) method += '.atomic';
@@ -196,6 +198,8 @@ if(!dojo._hasResource["openils.PermaCrud"]) {
if (opts.limit) order_by.limit = opts.limit;
if (opts.offset) order_by.offset = opts.offset;
if (opts.join) order_by.join = opts.join;
+ if (opts.flesh) order_by.flesh = opts.flesh;
+ if (opts.flesh_fields) order_by.flesh_fields = opts.flesh_fields;
if (opts.id_list) return_type = 'id_list';
var method = 'open-ils.pcrud.' + return_type + '.' + fm_class;
-----------------------------------------------------------------------
Summary of changes:
Open-ILS/web/js/dojo/openils/PermaCrud.js | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list