ihsn / nada

National Data Archive (NADA) is an open source data cataloging system that serves as a portal for researchers to browse, search, compare, apply for access, and download relevant census or survey information. It was originally developed to support the establishment of national survey data archives.

Home Page:http://nada.ihsn.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Search filters not carried on when no result

Alhrath opened this issue · comments

Hi,

Another bug spotted :

When you do a search with parameters, as long as you are getting result the said parameters are kept with the hidden input forms :

<input type="hidden" name="sort_by" id="sort_by" value=""/>
<input type="hidden" name="sort_order" id="sort_order" value=""/>
<input type="hidden" name="ps" id="ps" value="15"/>
<input type="hidden" name="repo" id="repo" value="XXX"/>
<input type="hidden" name="sid" id="sid" value=""/>

But as soon as you have no result, the hidden fields are not displayed and the parameters are lost, which can be quite confusing for the user.

@Alhrath, thank you for reporting this and other issues, I am looking into the issues.