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

Facet pages renders incorrectly when encountering numerical values

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.x-1.9
    • Component/s: Solr Facet Pages
    • Labels:
      None

      Description

      When using facet pages with fields with numerical data (for example a MODS date field as a string), facet pages will incorrectly re-order values that PHP interprets as integers in an array which causes the corresponding rendering output and links to not be correct.

      See attached screenshot

      Steps to reproduce
      Create some sample records with a field that contains numerical and non-numerical data
      Configure a Solr facet page to be created for the field
      View the page and note how the numerical data is replaced with incorrect array values and the non-numerical data is correct

      Test Case
      Follow the above with the new code, note that everything is hunky dory.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jordandukart Jordan Dukart
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: