Custom Query (2152 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (595 - 597 of 2152)

Ticket Resolution Summary Owner Reporter
#915 fixed Deploy dcat-tools/rdfsolr to publicdata.eu as a placeholder pudo pudo

Reported by pudo, 3 years ago.

Description

We should present something there, why not start with a meta-search.

#917 fixed Turning off Autoflush in SQLAlchemy kindly kindly

Reported by kindly, 3 years ago.

Description

David Raznik: I propose we remove autoflush by default in ckan. It caused a lot of bugs on the version upgrade due to its magical behavior.

I have a patch in https://bitbucket.org/kindly/ckan/ on branch feature_switch_autoflush_off_by_default.

This change simplifies code. It only took 7 extra flushes/commits to make work and there are over 40 instances that we remove autoflush, so as not to cause error (I have not removed them in the patch yet).

Things to know about using flush:

  • Most of the time nothing will change. A commit implies flush.
  • You only need to flush if you expect a query to return an object you just saved. i.e if you session.add(obj) and you expect obj to be in a session.query.
  • A flush is handy when you want to get the primary key out before you do a commit. i.e session.add(obj); session.flush(); obj.id is now generated.
  • You can use them as a limited form of nested transaction.

It increased the performance on the tests by about 5%. There are less flushes altogether so is faster.

I do not see any downsides.

#919 fixed Package preview contains API & datapkg instructions dread dread

Reported by dread, 3 years ago.

Description
  1. Edit a package
  2. Hit 'preview'.

The preview contains the section "CKAN API / datapkg" which seems irrelevant at this point. Looking at ckan.net previews, the Comments section only appears when you view a package and not when you preview it. This seems more sensible - can this be done for the "CKAN API / datapkg" section too?

Note: See TracQuery for help on using queries.