[views] add columns parser and latest_retrieval to cwsource admin view
authorNicolas Chauvat <nicolas.chauvat@logilab.fr>
Mon, 06 Jun 2011 15:11:29 +0200
changeset 7455 694b21f0fc62
parent 7454 1090724f28ed
child 7456 c54038622fc9
[views] add columns parser and latest_retrieval to cwsource admin view
web/views/cwsources.py
--- a/web/views/cwsources.py	Mon Jun 06 15:03:00 2011 +0200
+++ b/web/views/cwsources.py	Mon Jun 06 15:11:29 2011 +0200
@@ -223,7 +223,8 @@
 
 class CWSourceManagementView(StartupView):
     __regid__ = 'cw.source-management'
-    rql = ('Any S, ST, SN ORDERBY SN WHERE S is CWSource, S name SN, S type ST')
+    rql = ('Any S, ST, SP, SD, SN ORDERBY SN WHERE S is CWSource, S name SN, S type ST, '
+           'S latest_retrieval SD, S parser SP')
     title = _('data sources management')
 
     def call(self, **kwargs):
@@ -234,4 +235,4 @@
                 self._cw.build_url('add/%s' % eschema),
                 self._cw._('add a CWSource')))
             self.w(u'<div class="clear"></div>')
-        self.wview('table', self._cw.execute(self.rql), displaycols=range(2))
+        self.wview('table', self._cw.execute(self.rql), displaycols=range(4))