Uploaded image for project: 'ERM Platform'
  1. ERM Platform
  2. ERM-1658

Simple Search Widget tokens not being translated to filter values

    XMLWordPrintable

Details

    • ERM Sprint 115, ERM Sprint 116
    • Bienenvolk

    Description

      On folio-snapshot:

      • Create widget with either currentDate or currentUser as part of filter
      • Widget creates query to app with the tokens instead of tokens converted to correct filter value

      e.g. GET https://folio-snapshot-okapi.dev.folio.org/licenses/licenses?filters=startDate==%7B%7BcurrentDate%7D%7D&sort=id;asc&stats=true&perPage=5 

       

      Dev task breakdown

      Work has already begun on this:
      https://github.com/folio-org/ui-dashboard/compare/ERM-1658

       

      The actual issue is resolved, but the task is now to write a test which tests that the path builder returns what is expected for

      • Tokens
      • Dates (is formatting correct)
      • isSet/isNotSet etc

      Including checking the baseUrl is properly set and sort/filter columns both work and end up in the returned path string

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                ostephens Owen Stephens
                ostephens Owen Stephens
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases