[open-ils-commits] r8692 -
branches/acq-experiment/Open-ILS/src/perlmods/OpenILS/Application/Acq
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Feb 7 16:12:59 EST 2008
Author: erickson
Date: 2008-02-07 15:44:21 -0500 (Thu, 07 Feb 2008)
New Revision: 8692
Modified:
branches/acq-experiment/Open-ILS/src/perlmods/OpenILS/Application/Acq/Picklist.pm
Log:
not returning picklist with empty name, since that is the search results picklist
Modified: branches/acq-experiment/Open-ILS/src/perlmods/OpenILS/Application/Acq/Picklist.pm
===================================================================
--- branches/acq-experiment/Open-ILS/src/perlmods/OpenILS/Application/Acq/Picklist.pm 2008-02-07 19:49:48 UTC (rev 8691)
+++ branches/acq-experiment/Open-ILS/src/perlmods/OpenILS/Application/Acq/Picklist.pm 2008-02-07 20:44:21 UTC (rev 8692)
@@ -133,7 +133,7 @@
my($self, $conn, $auth, $options) = @_;
my $e = new_editor(authtoken=>$auth);
return $e->die_event unless $e->checkauth;
- return $e->search_acq_picklist({owner=>$e->requestor->id},{idlist=>$$options{idlist}});
+ return $e->search_acq_picklist({owner=>$e->requestor->id, name=>{'!='=>''}},{idlist=>$$options{idlist}});
}
@@ -366,5 +366,10 @@
return $entries;
}
+=head comment
+request open-ils.cstore open-ils.cstore.json_query.atomic {"select":{"acqple":[{"transform":"count", "attregate":1, "column":"id","alias":"count"}]}, "from":"acqple","where":{"picklist":1}}
+=cut
+
+
1;
More information about the open-ils-commits
mailing list