[ckan-changes] commit/ckan: John Glover: Add revision author to history_ajax API call

Bitbucket commits-noreply at bitbucket.org
Thu Jun 16 16:51:27 UTC 2011


1 new changeset in ckan:

http://bitbucket.org/okfn/ckan/changeset/ecd4b620e337/
changeset:   ecd4b620e337
branch:      feature-1141-moderated-edits-ajax
user:        John Glover
date:        2011-06-16 18:50:05
summary:     Add revision author to history_ajax API call
affected #:  1 file (52 bytes)

--- a/ckan/controllers/package.py	Wed Jun 15 20:41:39 2011 +0100
+++ b/ckan/controllers/package.py	Thu Jun 16 17:50:05 2011 +0100
@@ -403,6 +403,7 @@
                          'message': revision.message,
                          'timestamp': format_datetime(revision.timestamp, 
                                                       locale=(get_lang() or ['en'])[0]),
+                         'author': revision.author,
                          'approved': bool(revision.approved_timestamp),
                          'current_approved': current_approved})

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