[ckan-changes] commit/ckan: John Glover: [moderatededits] hide bug in listing of recently changed packages
Bitbucket
commits-noreply at bitbucket.org
Wed Jun 29 16:49:03 UTC 2011
1 new changeset in ckan:
http://bitbucket.org/okfn/ckan/changeset/b21f4bfa1a38/
changeset: b21f4bfa1a38
branch: feature-1141-moderated-edits-ajax
user: John Glover
date: 2011-06-29 18:46:56
summary: [moderatededits] hide bug in listing of recently changed packages
affected #: 1 file (2 bytes)
--- a/ckan/logic/action/get.py Wed Jun 29 17:18:21 2011 +0100
+++ b/ckan/logic/action/get.py Wed Jun 29 18:46:56 2011 +0200
@@ -30,7 +30,7 @@
limit = context.get("limit")
q = ckan.authz.Authorizer().authorized_query(user, model.PackageRevision)
- q = q.filter_by(state='active', current=True)
+ # q = q.filter_by(state='active', current=True)
q = q.order_by(model.package_revision_table.c.revision_timestamp.desc())
if limit:
q = q.limit(limit)
Repository URL: https://bitbucket.org/okfn/ckan/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the ckan-changes
mailing list