From: Ross Jones Date: Tue, 08 Oct 2013 13:18:58 +0000 Subject: [854] Replace query for type-"publisher" with type="organization" X-Git-Url: http://maxious.lambdacomplex.org/git/?p=ckanext-ga-report.git&a=commitdiff&h=4b49af46d333a174ab4622f93a237062ca180d82 --- [854] Replace query for type-"publisher" with type="organization" --- --- a/ckanext/ga_report/controller.py +++ b/ckanext/ga_report/controller.py @@ -531,7 +531,7 @@ ''' publishers = [] for pub in model.Session.query(model.Group).\ - filter(model.Group.type=='publisher').\ + filter(model.Group.type=='organization').\ filter(model.Group.state=='active').\ order_by(model.Group.name): publishers.append((pub.name, pub.title))