PassMark Logo
Home » Forum

Disable pagination of results

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • myronr
    Junior Member
    • Dec 2016
    • 3

    #1

    Disable pagination of results

    Is it possible to display all the search results on a single page instead of paginated?
  • David
    Administrator
    • Dec 2004
    • 4714

    #2
    In the URL you can pass in the number of results to display using the &zoom_per_page=xx parameter.

    So for example, this URL would display 99 results.
    http://www.wrensoft.com/search.php?z...om_per_page=99

    Comment

    • myronr
      Junior Member
      • Dec 2016
      • 3

      #3
      Thanks. Is there any way to pass that through my custom embedded form (extjs application)? Currently I have:

      Code:
      ZoomSearchForm = '<form name="sform" id="sform" action="JavaScript:if(document.sform.zoom_q.value.length>0) {current_results_page=1;viewed_results=[];Kbase._openzoom(document.sform.zoom_q.value)}" method="get"> \
                  <table> \
                  <tbody> \
                      <tr> \
                          <td>\
                              <input id="search-textfield-inputEl" type="text" name="zoom_q" value="'+Kbase._empty_search_box_text+'" onclick="this.select()" class="zoom_searchbox"  /> \
                          </td> \
                          <td>  \
                                <input  id="search-Icon-btnEl" style="height: 32px; width: 32px;" type="submit"  value="'+Kbase._search_button_text+'" title="Search" class="zoom_button" /> \
                          </td> \
                          </tr> \
                          </tbody> \
                  </table> \
              </form> ';
              }

      Comment

      • David
        Administrator
        • Dec 2004
        • 4714

        #4
        Yes, there will be, but it is your custom Javascript code. We don't really know what your code does or what your reasons are for doing it. We've never used extjs either. It will probably be quicker for you to update your code than us.

        Comment

        Working...