Not possible to filter search results provided by the Macro Usage links

XMLWordPrintable

    • 3
    • Severity 3 - Minor
    • 0

      Issue Summary

      When clicking on a link in the Macro Usage page, it forward us to the advanced search page. 

      If we wish to further filter that CQL search now, it does not work. 

      If we use the same CQL generated on the Macro Usage page link, the filters do work.

      Steps to Reproduce

      1. Go to Settings -> Macro Usage
      2. Click on any of the links for the listed Macros
      3. After the Search results are rendered try to filter those by using any of the options on the right side menu

      Expected Results

       Search results should be filtered based on the Macro specified initially + the additional filtering parameters
      Here's a video showing that the URL reflect the changes when clicked on the filters:
      quick search normal.mp4

      Actual Results

       All content is displayed, regardless of having the initially selected macro or not.
      Here's a video showing the URL not reflecting any clicks on the filters, and remain the same:
      macro search bug.mp4
      This impacts the page even when <Base_URL>/dosearchsite.action?cql=macro = "anything_here" is browsed directly without going through "Macro Usage" UI
       

      Workaround

      Construct the CQL statement with macro information and other filters (last modified, space, type, etc) by ourselves and run it as standalone CQL query like below:

      <base_url>/dosearchsite.action?cql=lastmodified+>%3D+now('-1y'){+}and+type{+}%3D+"page"{+}AND+macro{+}%3D+"list-children"|https://wikiprojects.upc.biz/dosearchsite.action?cql=lastmodified+%3E%3D+now(%27-1y%27)+and+type+%3D+%22page%22+AND+macro+%3D+%22list-children%22
      

        1. macro search bug.mp4
          589 kB
          Damien Tan
        2. quick search normal.mp4
          1.14 MB
          Damien Tan

              Assignee:
              Unassigned
              Reporter:
              Diego Zarpelon (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: