Support <AutoSuggest> parameters in templated queries

Description

In the forms generated for users to fill in templated queries (UILDP-105), the JSON metadata file associated with an SQL query can specify pameters of various types: regular text fields, date fields, select fields, and a autosuggest fields. (In the latter, a select list is presented, but the user is also free to enter a value not in the list.)

The first three of these work fine, but the last does not due to (as far as I can tell) problems in the underlying stripes-components code — see STCOM-1201.

Once that STCOM issue is fixed, we need to support autosuggest fields in the LDP's templated query forms.

Environment

None

Potential Workaround

None

Attachments

1
  • 18 Nov 2024, 12:11 PM

Checklist

hide

TestRail: Results

Activity

Show:

Charlotte Whitt November 18, 2024 at 12:11 PM

Manual test in FOLIO Snapshot, version reporting module (mod-reporting-1.3.0-SNAPSHOT.49) using Chrome.

This works as expected when checking the Build query form

 

Skærmbillede 2024-11-18 kl. 13.03.16.png

 

I’ll close the ticket as Done. Thanks star-struck

Mike Taylor November 15, 2024 at 4:26 PM

Done.

, this will be available for QA on snapshot tomorrow. Go to the report “Count loans and renewals” and navigate to its Permanent location filter field. Unlike Temporary location filter, it will offer a list of candidate values. You can either choose from among them, or enter your own value.

Mike Taylor November 15, 2024 at 4:19 PM

I am pleased to report that the fix for the underlying `<AutoSuggest>` field in stripes-components has become available, so this is a simple matter of reinstating the code that was commented out for UILDP-147.

Done

Details

Assignee

Reporter

Tester Assignee

Priority

Sprint

Development Team

Thor

Fix versions

Release

Sunflower (R1 2025)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created September 20, 2023 at 3:25 PM
Updated November 18, 2024 at 12:12 PM
Resolved November 18, 2024 at 12:11 PM
TestRail: Cases
TestRail: Runs

Flag notifications