Custom Query (2152 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (595 - 597 of 2152)

Ticket Resolution Summary Owner Reporter
#1730 fixed Form field for vocabularies johnglover seanh

Reported by seanh, 2 years ago.

Description

A function that takes a vocabulary name or ID as argument and returns a nice select box for selecting items from that given vocabulary. Meant to be used by form templates, to make it easy for them to integrate custom vocabularies. Could use http://harvesthq.github.com/chosen/

#1729 duplicate Helper function for extensions to add vocabularies to a ckan instance johnglover seanh

Reported by seanh, 2 years ago.

Description

Add a helper function to make it easy for extensions to add new vocabularies to default_package_schema(). The helper function should take the name or ID of a vocabulary (which should already exist in the db) and add the necessary key: [schema] entry to default_package_schema(), with the necessary validation, authorisation, transformation.

#1728 fixed Update UKLP harvesters amercader amercader

Reported by amercader, 2 years ago.

Description

Three small changes:

  • Set Resource type to None instead of 'Undefined'
  • Set extra 'UKLP' = True instead of 'INSPIRE' = True

These two changes will require manual update of the database.

  • Allow datasets to be updated if the old source is inactive, even if the metadata date hasn't changed:
    if last_harvested_object.metadata_modified_date is None \
       or last_harvested_object.metadata_modified_date < self.obj.metadata_modified_date \
       or self.force_import \
       or last_harvested_object.metadata_modified_date == self.obj.metadata_modified_date and last_harvested_object.source.active is False:

Note: See TracQuery for help on using queries.