ckan/ckan — pull request #1924 by filipefigcorreia (2014-09-12 17:34:28+00:00)
Title: Avoiding the latency of doing multiple queries to the database to ensure...

Avoiding the latency of doing multiple queries to the database to ensure the package id is there. Instead, do a single query that gets of all the IDs.