Bug 38227 - Collapse authority popup search form when showing results
Summary: Collapse authority popup search form when showing results
Status: Signed Off
Alias: None
Product: Koha
Classification: Unclassified
Component: Templates (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Owen Leonard
QA Contact: Testopia
URL:
Keywords:
Depends on: 38221
Blocks:
  Show dependency treegraph
 
Reported: 2024-10-22 13:52 UTC by Owen Leonard
Modified: 2024-10-24 02:25 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: Small patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Bug 38227: Collapse authority popup search form when showing results (7.60 KB, patch)
2024-10-22 14:20 UTC, Owen Leonard
Details | Diff | Splinter Review
Bug 38227: Collapse authority popup search form when showing results (7.65 KB, patch)
2024-10-24 02:25 UTC, Phil Ringnalda
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Owen Leonard 2024-10-22 13:52:01 UTC
I propose to convert the authority popup search form to a collapsible panel like we have on the patron entry form. It would be expanded when the popup is initially triggered but collapsed when displaying search results.
Comment 1 Owen Leonard 2024-10-22 14:20:16 UTC
Created attachment 173162 [details] [review]
Bug 38227: Collapse authority popup search form when showing results

This patch takes the collapsing-panel functionality of the patron entry
form and generalizes it so that it can be used on the authority search
popup window in cataloging.

To test, apply the patch and rebuild the staff interface CSS.

- Go to Cataloging -> New record (basic MARC editor)
- Switch to tab 1 and click the tag editor link next to tag 100 subfield
  a.
- The search form should be expanded in the pop-up window.
- Perform a search. When the window reloads with search results the
  search form should be collapsed.
- Confirm that clicking the "Search options" legend works correctly to
  expand and collapse the form.
- Collapse the form and click the "Clear form" button. The form should
  expand -- This is based on the assumption that the "Clear form" button
  would be used when the user wants to initiate a new search.
- Go to Patrons -> New patron and confirm that collapsible sections
  still work correctly.

Sponsored-by: Athens County Public Libraries
Comment 2 Phil Ringnalda 2024-10-24 02:25:08 UTC
Created attachment 173245 [details] [review]
Bug 38227: Collapse authority popup search form when showing results

This patch takes the collapsing-panel functionality of the patron entry
form and generalizes it so that it can be used on the authority search
popup window in cataloging.

To test, apply the patch and rebuild the staff interface CSS.

- Go to Cataloging -> New record (basic MARC editor)
- Switch to tab 1 and click the tag editor link next to tag 100 subfield
  a.
- The search form should be expanded in the pop-up window.
- Perform a search. When the window reloads with search results the
  search form should be collapsed.
- Confirm that clicking the "Search options" legend works correctly to
  expand and collapse the form.
- Collapse the form and click the "Clear form" button. The form should
  expand -- This is based on the assumption that the "Clear form" button
  would be used when the user wants to initiate a new search.
- Go to Patrons -> New patron and confirm that collapsible sections
  still work correctly.

Sponsored-by: Athens County Public Libraries
Signed-off-by: Phil Ringnalda <phil@chetcolibrary.org>