[tbord] Fix key used to insert view content in the jinja template
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 29 Mar 2017 14:37:18 +0200
changeset 247 0c8df6517501
parent 246 38cbed1f3fdb
child 248 45c893aab715
[tbord] Fix key used to insert view content in the jinja template previous value resulted from a bad copy / paste. Related to #17066578
cubicweb_sherpa/views/management.py
--- a/cubicweb_sherpa/views/management.py	Wed Mar 29 14:36:10 2017 +0200
+++ b/cubicweb_sherpa/views/management.py	Wed Mar 29 14:37:18 2017 +0200
@@ -45,7 +45,7 @@
                 ('Any X,XMD,XU,XUA ORDERBY XMD DESC WHERE X is SEDAArchiveUnit, '
                  'NOT X seda_archive_unit P, '
                  'X modification_date XMD, X created_by XU?, X user_annotation XUA, '
-                 'X owned_by U, U eid %(u)s', 'profiles'),
+                 'X owned_by U, U eid %(u)s', 'units'),
                 ('Any X,XMD,XU ORDERBY XMD DESC WHERE X is AuthorityRecord, '
                  'X modification_date XMD, X created_by XU?,'
                  'X owned_by U, U eid %(u)s', 'records'),