Uploaded image for project: 'Islandora'
  1. Islandora
  2. ISLANDORA-2117

Implement "Show all results" (on a single page) in Solr Facet Pages



    • Type: Improvement
    • Status: In Progress
    • Priority: Minor
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: Solr Facet Pages
    • Labels:


      In Solr Facet Pages, there's a configurable variable called "Results per page" and it causes a Drupal Pager to be used if you see more than this. I'm pointing this out cause there's also a limit called "Maximum facet values" which puts a limit on how many facets get returned, period. This ticket is about the former, not the latter.

      The configuration form for Solr Facet Pages says/used to say[1], "Leave empty to return all fields." But you can't actually save an empty field, because the validation requires that the value is numeric.

      If you enter "0" then you actually get zero results per page, which doesn't help anyone.

      If you enter "-1" then you get all the results on a single page (yay!). But the text that the user sees is "Showing 1 - -1 of 276".

      If this is a feature we want (and I think it is), we should correct the text so it would read "Showing 1 - 276 of 276" or whatever, and document the form again to say "Enter -1 to see all results on one page."




            • Assignee:
              rosiel Rosie Le Faive
              rosiel Rosie Le Faive
            • Votes:
              0 Vote for this issue
              1 Start watching this issue


              • Created: