18F / fbopen

[DEPRECATED] An open API server, data import tools, and sample apps to help small businesses search for opportunities to work with the U.S. government.
Other
101 stars 45 forks source link

Page number does not clear on new searches #45

Closed cmurphyUSAID closed 10 years ago

cmurphyUSAID commented 10 years ago

When a user navigates to a higher page result then runs another another search. The p=# does not reset. So, if the new search results has fewer pages the results page is blank.

Example

First Search

Go to page 8 of result set for term "data" https://fbopen.gsa.gov/?q=data&show_noncompeted=on&data_source=grants.gov&naics=&parent_only=&p=8

Second Search

Do a new search for "statisitcs" https://fbopen.gsa.gov/?q=statistics&show_noncompeted=on&data_source=grants.gov&naics=&parent_only=&p=8

image

Solution

remove the # for p=

https://fbopen.gsa.gov/?q=statistics&show_noncompeted=on&data_source=grants.gov&naics=&parent_only=&p=

aaronsnow commented 10 years ago

Per #66, the bug is fixed in the esearch branch and will go live when that branch is merged into master.