Skip to content

Keyword query does not persist on MURs and ADRs datatables #7045

@johnnyporkchops

Description

@johnnyporkchops

Summary

What happened?

  • Keyword query is cleared from the keyword field upon each search
  • When there is an existing keyword query and user chooses other filters, the existing keyword query does get included with the new search parameters
  • User has to re-add keyword query every time a new filter is chosen if they want to combine it with other filters

Fix:
Restore {{ query }} as the value in macros/legal.jinja (inadvertently removed in this commit)

<input id="search-input" type="text" name="search" class="combo__input" value="">

Frequency

every time

How to Reproduce

  1. Enter a keyword query on MURs or ADRs datatable
  2. Choose another filter like document or disposition filter

Device, browser, etc

Tell us everything you can about:

  • your device (e.g. laptop, tablet, phone),
  • its operating system (e.g. Windows, iOS, Android),
  • your browser (e.g. Chrome, Internet Explorer, Safari, "Internet"),
  • your screen or browser window size (for mobile, is it portrait or landscape?),
  • your Internet connection (e.g. home, mobile, VPN),

Screenshots

Screenshots would help us correctly identify the issue.

Misc

If you'd like to include anything else that may be of interest, do that here.

Metadata

Metadata

Labels

Type

No type

Projects

Status

✅ Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions