PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

Disable pagination of results

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Disable pagination of results

    Is it possible to display all the search results on a single page instead of paginated?

  • #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


    • #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


      • #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...
        X