Uploaded image for project: 'Portlet Bridge'
  1. Portlet Bridge
  2. PBR-279

Portal Booking Demo - pagination not working correctly

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.1.0.FINAL
    • Fix Version/s: 2.3.0.FINAL
    • Component/s: Seam
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      Example demonstrating the problem:

      1. Sign in to the portal and access the Portal Booking example.
      2. In the search field, type e.g. "ma", set the maximum of results to "5" and click the "Find Hotels" button to obtain the list of hotels.
      3. Click on the "More results" link.

      The message "No Hotels Found" is shown, which implies there are only 5 results satisfying the query "ma". If you set the maximum of results to "10", you can see there are in fact 7 such hotels.

      Show
      Example demonstrating the problem: Sign in to the portal and access the Portal Booking example. In the search field, type e.g. " ma ", set the maximum of results to " 5 " and click the " Find Hotels " button to obtain the list of hotels. Click on the " More results " link. The message " No Hotels Found " is shown, which implies there are only 5 results satisfying the query " ma ". If you set the maximum of results to " 10 ", you can see there are in fact 7 such hotels.

      Description

      When searching for the hotels, the "pagination" doesn't work correctly. Apart from the fact that this way of showing the results is a bit "clumsy", if the number of results is set to less than the number of the hotels satisfying the query, not all the hotels can be shown using the "More results" link - the last page containing less results than the number specified can't be accessed.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                kenfinni Ken Finnigan
                Reporter:
                mcupak Miroslav Cupak
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: