[open-ils-commits] r8409 - branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/controllers/acq

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Jan 17 16:56:39 EST 2008


Author: erickson
Date: 2008-01-17 16:30:56 -0500 (Thu, 17 Jan 2008)
New Revision: 8409

Modified:
   branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/controllers/acq/picklist.py
Log:
added stubs for view_entry and search

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-01-17 20:42:34 UTC (rev 8408)
+++ branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/controllers/acq/picklist.py	2008-01-17 21:30:56 UTC (rev 8409)
@@ -13,11 +13,17 @@
         r = RequestMgr()
         pl_manager = oilsweb.lib.acq.picklist.PicklistMgr(r, picklist_id=kwargs['id'])
         pl_manager.retrieve()
-        pl_manager.retrieve_entries()
+        pl_manager.retrieve_entries(flesh_provider=True, offset=r.ctx.acq.offset, limit=r.ctx.acq.limit)
         r.ctx.acq.picklist = pl_manager.picklist
         return r.render('acq/picklist/view.html')
 
+    def view_entry(self, **kwargs):
+        return 'details for entry ' + str(kwargs.get('id'))
 
+    def search(self):
+        return 'search interface'
+
+
     '''
     def search(self):
         r = RequestMgr()



More information about the open-ils-commits mailing list