[open-ils-commits] r16194 - in trunk: . Open-ILS/web/js/dojo/openils Open-ILS/web/opac/locale/en-US Open-ILS/web/opac/skin/craftsman/xml/common Open-ILS/web/opac/skin/default/js Open-ILS/web/opac/skin/default/xml/common (miker)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Apr 9 09:57:05 EDT 2010
Author: miker
Date: 2010-04-09 09:57:03 -0400 (Fri, 09 Apr 2010)
New Revision: 16194
Modified:
trunk/
trunk/Open-ILS/web/js/dojo/openils/PermaCrud.js
trunk/Open-ILS/web/opac/locale/en-US/opac.dtd
trunk/Open-ILS/web/opac/skin/craftsman/xml/common/holds.xml
trunk/Open-ILS/web/opac/skin/default/js/holds.js
trunk/Open-ILS/web/opac/skin/default/js/result_common.js
trunk/Open-ILS/web/opac/skin/default/xml/common/format_selector.xml
trunk/Open-ILS/web/opac/skin/default/xml/common/holds.xml
Log:
add id_list flag to the options hash of the search method in openils.PermaCrud
Property changes on: trunk
___________________________________________________________________
Name: bzr:revision-info
- timestamp: 2010-04-08 22:16:18.703999996 -0400
committer: Mike Rylander <miker at miker-msi>
properties:
branch-nick: head-ILS
+ timestamp: 2010-04-09 09:54:06.739000082 -0400
committer: Mike Rylander <miker at esilibrary.com>
properties:
branch-nick: trunk
Name: bzr:ancestry:v4
- phasefx at batrepo-20091014063314-vwbu74yuns94tzb4
jason at esilibrary.com-20091202233704-ej5adh761jjyc97k
jason at esilibrary.com-20091204160629-ilcxw9t02sqmo1qr
jason at esilibrary.com-20091208134806-0n0h8hf3gieuu5zz
jason at esilibrary.com-20091208155338-qatq3itbybh68tst
jason at esilibrary.com-20091209133349-f98dfqy22fe4lt0m
jason at esilibrary.com-20091209143255-f95jqqpfprksx7x8
jason at esilibrary.com-20091209221402-nzzmam31s4hyctoz
jason at esilibrary.com-20100324193921-j28bezf2tfdopx3s
opensrf at fulfillment2.esilibrary.com-20100405202638-dy1gigwnnvvqzc1x
+ phasefx at batrepo-20091014063314-vwbu74yuns94tzb4
jason at esilibrary.com-20091202233704-ej5adh761jjyc97k
jason at esilibrary.com-20091204160629-ilcxw9t02sqmo1qr
jason at esilibrary.com-20091208134806-0n0h8hf3gieuu5zz
jason at esilibrary.com-20091208155338-qatq3itbybh68tst
jason at esilibrary.com-20091209133349-f98dfqy22fe4lt0m
jason at esilibrary.com-20091209143255-f95jqqpfprksx7x8
jason at esilibrary.com-20091209221402-nzzmam31s4hyctoz
jason at esilibrary.com-20100324193921-j28bezf2tfdopx3s
opensrf at fulfillment2.esilibrary.com-20100405202638-dy1gigwnnvvqzc1x
miker at esilibrary.com-20100402183007-41z5sy2jdbyypyzt
Name: bzr:file-ids
- Open-ILS/src/perlmods/OpenILS/Application/Storage/QueryParser.pm 15833 at dcc99617-32d9-48b4-a31d-7c20da2025e4:trunk%2FOpen-ILS%2Fsrc%2Fperlmods%2FOpenILS%2FApplication%2FStorage%2FQueryParser.pm
+ Open-ILS/web/js/dojo/openils/PermaCrud.js 11640 at dcc99617-32d9-48b4-a31d-7c20da2025e4:trunk%2FOpen-ILS%2Fweb%2Fjs%2Fdojo%2Fopenils%2FPermaCrud.js
Open-ILS/web/opac/locale/en-US/opac.dtd 3400 at dcc99617-32d9-48b4-a31d-7c20da2025e4:trunk:Open-ILS%2Fweb%2Fopac%2Flocale%2Fen-US%2Fopac.dtd
Open-ILS/web/opac/skin/craftsman/xml/common/holds.xml 12131 at dcc99617-32d9-48b4-a31d-7c20da2025e4:trunk%2FOpen-ILS%2Fweb%2Fopac%2Fskin%2Fcraftsman%2Fxml%2Fcommon%2Fholds.xml
Open-ILS/web/opac/skin/default/js/holds.js 2092 at dcc99617-32d9-48b4-a31d-7c20da2025e4:trunk:Open-ILS%2Fweb%2Fopac%2Fskin%2Fdefault%2Fjs%2Fholds.js
Open-ILS/web/opac/skin/default/js/result_common.js 1680 at dcc99617-32d9-48b4-a31d-7c20da2025e4:trunk:Open-ILS%2Fweb%2Fopac%2Fskin%2Fdefault%2Fjs%2Fresult_common.js
Open-ILS/web/opac/skin/default/xml/common/format_selector.xml 2385 at dcc99617-32d9-48b4-a31d-7c20da2025e4:trunk:Open-ILS%2Fweb%2Fopac%2Fskin%2Fdefault%2Fxml%2Fcommon%2Fformat_selector.xml
Open-ILS/web/opac/skin/default/xml/common/holds.xml 2385 at dcc99617-32d9-48b4-a31d-7c20da2025e4:trunk:Open-ILS%2Fweb%2Fopac%2Fskin%2Fdefault%2Fxml%2Fcommon%2Fholds.xml
Name: bzr:revision-id:v4
- 11741 phasefx at batrepo-20091014063041-ama3i5s87ziqohxo
11742 phasefx at batrepo-20091014063644-pn3a6urkw3uxgr6n
12108 phasefx at batrepo-20091120084700-lavt73oserscgalf
12166 jason at esilibrary.com-20091202233906-g8kh2kh3qmmz66r1
12184 jason at esilibrary.com-20091204161020-0dqezh01c05btffh
12198 jason at esilibrary.com-20091208140008-eofwdbn2u8dxk2kk
12199 jason at esilibrary.com-20091208155412-4qdzy8sgs51vm0yq
12215 jason at esilibrary.com-20091209133642-bp8mb3tc5vpoc1ij
12220 jason at esilibrary.com-20091209143447-i1st1to8ln4hhwyb
12231 jason at esilibrary.com-20091209221438-vv4crqppm8ajj3dr
12804 jason at esilibrary.com-20100324194046-jza2ic2dlpq8txhc
12946 miker at esilibrary.com-20100402183612-8xznj35wfohk7zyu
12955 miker at esilibrary.com-20100403141037-h8d57ryrmkkg9yhb
12971 miker at whirly-20100405202254-aztbsf3p3eey9e8e
12997 miker at esilibrary.com-20100408154146-zodwuxxizwf0y449
13010 miker at miker-msi-20100409021618-5f0ohbg5cgi5pai0
+ 11741 phasefx at batrepo-20091014063041-ama3i5s87ziqohxo
11742 phasefx at batrepo-20091014063644-pn3a6urkw3uxgr6n
12108 phasefx at batrepo-20091120084700-lavt73oserscgalf
12166 jason at esilibrary.com-20091202233906-g8kh2kh3qmmz66r1
12184 jason at esilibrary.com-20091204161020-0dqezh01c05btffh
12198 jason at esilibrary.com-20091208140008-eofwdbn2u8dxk2kk
12199 jason at esilibrary.com-20091208155412-4qdzy8sgs51vm0yq
12215 jason at esilibrary.com-20091209133642-bp8mb3tc5vpoc1ij
12220 jason at esilibrary.com-20091209143447-i1st1to8ln4hhwyb
12231 jason at esilibrary.com-20091209221438-vv4crqppm8ajj3dr
12804 jason at esilibrary.com-20100324194046-jza2ic2dlpq8txhc
12946 miker at esilibrary.com-20100402183612-8xznj35wfohk7zyu
12955 miker at esilibrary.com-20100403141037-h8d57ryrmkkg9yhb
12971 miker at whirly-20100405202254-aztbsf3p3eey9e8e
12997 miker at esilibrary.com-20100408154146-zodwuxxizwf0y449
13010 miker at miker-msi-20100409021618-5f0ohbg5cgi5pai0
13014 miker at esilibrary.com-20100409135406-mitf09aw1srnps3g
Name: bzr:text-parents
- Open-ILS/src/perlmods/OpenILS/Application/Storage/QueryParser.pm svn-v4:dcc99617-32d9-48b4-a31d-7c20da2025e4:trunk:16024
+ Open-ILS/web/js/dojo/openils/PermaCrud.js svn-v4:dcc99617-32d9-48b4-a31d-7c20da2025e4:trunk:15782
Open-ILS/web/opac/locale/en-US/opac.dtd svn-v4:dcc99617-32d9-48b4-a31d-7c20da2025e4:trunk:16117 miker at esilibrary.com-20100402183007-41z5sy2jdbyypyzt
Open-ILS/web/opac/skin/craftsman/xml/common/holds.xml miker at esilibrary.com-20100402183612-8xznj35wfohk7zyu miker at esilibrary.com-20100402183007-41z5sy2jdbyypyzt
Open-ILS/web/opac/skin/default/js/holds.js svn-v4:dcc99617-32d9-48b4-a31d-7c20da2025e4:trunk:16155 svn-v4:dcc99617-32d9-48b4-a31d-7c20da2025e4:trunk:15143
Open-ILS/web/opac/skin/default/js/result_common.js miker at whirly-20100405180906-0hf79wthr5kvd418 svn-v4:dcc99617-32d9-48b4-a31d-7c20da2025e4:trunk:15585
Open-ILS/web/opac/skin/default/xml/common/format_selector.xml miker at esilibrary.com-20100402183612-8xznj35wfohk7zyu miker at esilibrary.com-20100402183007-41z5sy2jdbyypyzt
Open-ILS/web/opac/skin/default/xml/common/holds.xml miker at esilibrary.com-20100402183612-8xznj35wfohk7zyu miker at esilibrary.com-20100402183007-41z5sy2jdbyypyzt
Modified: trunk/Open-ILS/web/js/dojo/openils/PermaCrud.js
===================================================================
--- trunk/Open-ILS/web/js/dojo/openils/PermaCrud.js 2010-04-09 13:48:48 UTC (rev 16193)
+++ trunk/Open-ILS/web/js/dojo/openils/PermaCrud.js 2010-04-09 13:57:03 UTC (rev 16194)
@@ -152,6 +152,7 @@
},
search : function ( fm_class /* Fieldmapper class hint */, search /* Fieldmapper query object */, opts /* Option hash */) {
+ var return_type = 'search';
if(!opts) opts = {};
var order_by = {};
if (opts.order_by) order_by.order_by = opts.order_by;
@@ -159,8 +160,9 @@
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.id_list) return_type = 'id_list';
- var method = 'open-ils.pcrud.search.' + fm_class;
+ var method = 'open-ils.pcrud.' + return_type + '.' + fm_class;
if(!opts.streaming) method += '.atomic';
var req_hash = dojo.mixin(
Modified: trunk/Open-ILS/web/opac/locale/en-US/opac.dtd
===================================================================
Modified: trunk/Open-ILS/web/opac/skin/craftsman/xml/common/holds.xml
===================================================================
Modified: trunk/Open-ILS/web/opac/skin/default/js/holds.js
===================================================================
Modified: trunk/Open-ILS/web/opac/skin/default/js/result_common.js
===================================================================
Modified: trunk/Open-ILS/web/opac/skin/default/xml/common/format_selector.xml
===================================================================
Modified: trunk/Open-ILS/web/opac/skin/default/xml/common/holds.xml
===================================================================
More information about the open-ils-commits
mailing list