Uploaded image for project: '{RETIRED} XWiki Search Application'
  1. {RETIRED} XWiki Search Application
  2. XASEARCH-17

Escaping error when displaying lucene search pagination

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.5
    • 1.4
    • Lucene
    • None

    Description

      In Main.LuceneSearch, replace

      #set($paginationParameters = {'url' : $doc.getURL('view', "text=${query}&space=${selectedSpace}"), 'totalItems' : $searchresults.getHitcount(), 'defaultItemsPerPage' : $defaultItemsPerPage, 'position': 'top'})
      

      with

      #set($paginationParameters = {'url' : $doc.getURL('view', "text=${escapetool.url($query)}&space=${escapetool.url($selectedSpace)}"), 'totalItems' : $searchresults.getHitcount(), 'defaultItemsPerPage' : $defaultItemsPerPage, 'position': 'top'})
      

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            tmortagne Thomas Mortagne
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: