bcgov / ckanext-bcgov

BC Data Catalogue source code, main ckan extension
http://catalogue.data.gov.bc.ca
GNU Affero General Public License v3.0
24 stars 23 forks source link

URL query string from different search boxes on datasets page are not consistent #526

Open gjlawran opened 6 years ago

gjlawran commented 6 years ago

A search from the main page https://catalogue.data.gov.bc.ca/dataset?download_audience=Public

with the small search box, in the top right corner, the returned URL is *https://catalogue.data.gov.bc.ca/dataset?q=search+phase

with the large search box, the returned URL is *https://catalogue.data.gov.bc.ca/dataset?q=search+phase&download_audience=Public&sort=score+desc%2C+record_publish_date+desc

results appear to be identical - but it seems odd that record_publish_date is factored into the search when popularity is selected.

gjlawran commented 6 years ago

When the dataset page is first loaded the large search box applies the facet filter "public data only" - however the smaller search box at the top right does not apply the facet filter - so the results from the two search boxes may differ depending upon the access specification of the records.

mdunhamwilkie commented 5 years ago

Regarding "but it seems odd that record_publish_date is factored into the search when popularity is selected" - I don't see this. But I do see this when "relevance" is picked as the order-by.

It appears that the small search box ignores selected facets and order-by