Custom Query (2152 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (1132 - 1134 of 2152)

Ticket Resolution Summary Owner Reporter
#1727 fixed Add "current" property to harvest objects amercader amercader

Reported by amercader, 2 years ago.

Description

Right now is quite difficult to get the most current version of a package via the harvest objects, and the queries involved are prone to errors. A new "current" field will be added which will identify unequivocally the most recent harvested object. Unfortunately this will involve some major changes:

  • Model update (See #1726)
  • Update queries for getting harvest sources' datasets
  • Update ckanext-csw queries for getting the objects
  • Update inspire and ckan harvesters
  • Document new field
#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:

#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/

Note: See TracQuery for help on using queries.