ccordenier/tapestry5-hotel-booking

Empty search request displays different results depending on previuos search request.

Closed this issue · 3 comments

  1. I login.
  2. I leave the search field empty and click enter.
  3. Page reloads but no results are displayed.
  4. I enter hilton into search fiels, click button and find two hotels.
  5. And again I leave search field empty, click button and find a bug list with 3 pages.
  6. I click page 2 and find empty resultset.

Thanks for feedback ! We'll fix this

Fixed ! by overriding getAvailableRows in case of an empty search query.

done