[open-ils-commits] r8880 - in
branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb:
controllers/acq lib/acq
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Mar 6 09:49:17 EST 2008
Author: erickson
Date: 2008-03-06 09:16:47 -0500 (Thu, 06 Mar 2008)
New Revision: 8880
Modified:
branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/controllers/acq/picklist.py
branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/lib/acq/picklist.py
Log:
updated to use flesh_attrs
Modified: branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/controllers/acq/picklist.py
===================================================================
--- branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/controllers/acq/picklist.py 2008-03-06 14:16:19 UTC (rev 8879)
+++ branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/controllers/acq/picklist.py 2008-03-06 14:16:47 UTC (rev 8880)
@@ -10,7 +10,6 @@
from oils.org import OrgUtil
-
class PicklistController(BaseController):
def view(self, **kwargs):
@@ -38,7 +37,7 @@
def view_lineitem(self, **kwargs):
r = RequestMgr()
pl_manager = oilsweb.lib.acq.picklist.PicklistMgr(r)
- lineitem = pl_manager.retrieve_lineitem(kwargs.get('id'), flesh=1, flesh_provider=True)
+ lineitem = pl_manager.retrieve_lineitem(kwargs.get('id'), flesh_attrs=1, flesh_provider=True)
pl_manager.id = lineitem.picklist()
picklist = pl_manager.retrieve()
r.ctx.acq.picklist.value = pl_manager.picklist
Modified: branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/lib/acq/picklist.py
===================================================================
--- branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/lib/acq/picklist.py 2008-03-06 14:16:19 UTC (rev 8879)
+++ branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/lib/acq/picklist.py 2008-03-06 14:16:47 UTC (rev 8880)
@@ -55,7 +55,7 @@
"offset" : kwargs.get('offset'),
"limit" : kwargs.get('limit'),
"idlist" : kwargs.get('idlist'),
- "flesh" : 1,
+ "flesh_attrs" : 1,
"clear_marc" : 1
}
).recv().content()
@@ -98,7 +98,7 @@
def retrieve_lineitem(self, lineitem_id, **kwargs):
- args = {'flesh': kwargs.get('flesh')}
+ args = {'flesh_attrs': kwargs.get('flesh_attrs')}
lineitem = self.ses.request(
'open-ils.acq.lineitem.retrieve',
self.request_mgr.ctx.core.authtoken.value, lineitem_id, args).recv().content()
More information about the open-ils-commits
mailing list