Bug 22605 - Adding the option to modify/edit searches on the staff interface
Summary: Adding the option to modify/edit searches on the staff interface
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Searching (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Nick Clemens
QA Contact: Testopia
URL:
Keywords:
: 27568 (view as bug list)
Depends on: 28847 29350
Blocks: 30357 32100 17170 27546 31076 31271 32301 35785
  Show dependency treegraph
 
Reported: 2019-03-28 21:05 UTC by Alexandre
Modified: 2024-01-12 10:15 UTC (History)
13 users (show)

See Also:
Change sponsored?: Sponsored
Patch complexity: Small patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
22.05.00,21.11


Attachments
Bug 22605: Add ability to edit a search on staff interface (28.96 KB, patch)
2020-12-29 16:14 UTC, Nick Clemens
Details | Diff | Splinter Review
Bug 22605: Add ability to edit a search on staff interface (28.96 KB, patch)
2020-12-29 17:47 UTC, Nick Clemens
Details | Diff | Splinter Review
Bug 22605: Add ability to edit a search on staff interface (29.02 KB, patch)
2020-12-29 19:11 UTC, Kelly McElligott
Details | Diff | Splinter Review
Bug 22605: Add ability to edit a search on staff interface (29.04 KB, patch)
2021-02-22 19:53 UTC, Nick Clemens
Details | Diff | Splinter Review
Bug 22605: (follow-up) Correct terminology and fix conditionals (3.07 KB, patch)
2021-04-05 13:03 UTC, Nick Clemens
Details | Diff | Splinter Review
Bug 22605: Add ability to edit a search on staff interface (22.16 KB, patch)
2021-08-12 15:31 UTC, Nick Clemens
Details | Diff | Splinter Review
Bug 22605: Add ability to edit a search on staff interface (25.24 KB, patch)
2021-08-13 18:04 UTC, Nick Clemens
Details | Diff | Splinter Review
Bug 22605: Add ability to edit a search on staff interface (25.32 KB, patch)
2021-08-13 19:51 UTC, Nick Clemens
Details | Diff | Splinter Review
Bug 22605: Add ability to edit a search on staff interface (25.39 KB, patch)
2021-08-18 16:06 UTC, Andrew Fuerste-Henry
Details | Diff | Splinter Review
Bug 22605: Add ability to edit a search on staff interface (25.39 KB, patch)
2021-10-22 11:38 UTC, Nick Clemens
Details | Diff | Splinter Review
Bug 22605: (follow-up) Fix operators (3.53 KB, patch)
2021-10-22 11:38 UTC, Nick Clemens
Details | Diff | Splinter Review
Bug 22605: Preselect subtype limits and don't allow multiple (18.85 KB, patch)
2021-10-22 11:38 UTC, Nick Clemens
Details | Diff | Splinter Review
Bug 22605: (follow-up) Add selected to audience attributes (2.54 KB, patch)
2021-10-25 17:13 UTC, Nick Clemens
Details | Diff | Splinter Review
Bug 22605: (QA follow-up) Add missing TT filters (4.80 KB, patch)
2021-10-25 20:36 UTC, Katrin Fischer
Details | Diff | Splinter Review
Bug 22605: Add ability to edit a search on staff interface (25.41 KB, patch)
2021-10-25 20:48 UTC, Katrin Fischer
Details | Diff | Splinter Review
Bug 22605: (follow-up) Fix operators (3.54 KB, patch)
2021-10-25 20:48 UTC, Katrin Fischer
Details | Diff | Splinter Review
Bug 22605: Preselect subtype limits and don't allow multiple (18.86 KB, patch)
2021-10-25 20:48 UTC, Katrin Fischer
Details | Diff | Splinter Review
Bug 22605: (follow-up) Add selected to audience attributes (2.54 KB, patch)
2021-10-25 20:48 UTC, Katrin Fischer
Details | Diff | Splinter Review
Bug 22605: (QA follow-up) Add missing TT filters (4.80 KB, patch)
2021-10-25 20:49 UTC, Katrin Fischer
Details | Diff | Splinter Review
Bug 22605: (QA follow-up) Make Braille search option stick (1.33 KB, patch)
2021-10-25 20:49 UTC, Katrin Fischer
Details | Diff | Splinter Review
Bug 22605: Add ability to edit a search on staff interface (25.47 KB, patch)
2021-10-25 20:49 UTC, Katrin Fischer
Details | Diff | Splinter Review
Bug 22605: (follow-up) Fix operators (3.60 KB, patch)
2021-10-25 20:49 UTC, Katrin Fischer
Details | Diff | Splinter Review
Bug 22605: Preselect subtype limits and don't allow multiple (18.92 KB, patch)
2021-10-25 20:50 UTC, Katrin Fischer
Details | Diff | Splinter Review
Bug 22605: (follow-up) Add selected to audience attributes (2.60 KB, patch)
2021-10-25 20:50 UTC, Katrin Fischer
Details | Diff | Splinter Review
Bug 22605: (QA follow-up) Add missing TT filters (4.85 KB, patch)
2021-10-25 20:50 UTC, Katrin Fischer
Details | Diff | Splinter Review
Bug 22605: (QA follow-up) Make Braille search option stick (1.38 KB, patch)
2021-10-25 20:50 UTC, Katrin Fischer
Details | Diff | Splinter Review
Bug 22605: Add ability to edit a search on staff interface (25.44 KB, patch)
2022-03-16 10:19 UTC, Nick Clemens
Details | Diff | Splinter Review
Bug 22605: (follow-up) Fix operators (3.60 KB, patch)
2022-03-16 10:19 UTC, Nick Clemens
Details | Diff | Splinter Review
Bug 22605: Preselect subtype limits and don't allow multiple (18.91 KB, patch)
2022-03-16 10:19 UTC, Nick Clemens
Details | Diff | Splinter Review
Bug 22605: (follow-up) Add selected to audience attributes (2.59 KB, patch)
2022-03-16 10:19 UTC, Nick Clemens
Details | Diff | Splinter Review
Bug 22605: (QA follow-up) Make Braille search option stick (1.38 KB, patch)
2022-03-16 10:19 UTC, Nick Clemens
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre 2019-03-28 21:05:27 UTC
Once we did an advanced search in the OPAC, we have have the option to modify the criterias of this last search ("Return to the last advanced search" just on top of the results list). 

But in the "on site" Koha we don't have this option. Wchich can save a lot of time when we have long and precise searches to do allowing to refine the criterias rather than enter all of them again.

Thanks,

Alexandre
Comment 1 Alexandre 2019-03-29 13:32:37 UTC
By "on site" I mean staff interface.

Thanks,

Alexandre
Comment 2 Nick Clemens 2020-12-29 16:14:01 UTC Comment hidden (obsolete)
Comment 3 Andrew Fuerste-Henry 2020-12-29 17:04:17 UTC Comment hidden (obsolete)
Comment 4 Andrew Fuerste-Henry 2020-12-29 17:13:42 UTC Comment hidden (obsolete)
Comment 5 Nick Clemens 2020-12-29 17:47:13 UTC Comment hidden (obsolete)
Comment 6 Kelly McElligott 2020-12-29 19:11:36 UTC Comment hidden (obsolete)
Comment 7 David Cook 2021-01-04 01:30:29 UTC
We've implemented an "edit search" feature for years locally. It'll be interesting to see what this one is like...
Comment 8 Katrin Fischer 2021-02-17 20:29:36 UTC Comment hidden (obsolete)
Comment 9 Nick Clemens 2021-02-22 19:53:12 UTC Comment hidden (obsolete)
Comment 10 Katrin Fischer 2021-04-03 13:31:58 UTC Comment hidden (obsolete)
Comment 11 Katrin Fischer 2021-04-03 13:35:19 UTC Comment hidden (obsolete)
Comment 12 Nick Clemens 2021-04-05 13:03:33 UTC Comment hidden (obsolete)
Comment 13 Nick Clemens 2021-04-05 13:05:26 UTC Comment hidden (obsolete)
Comment 14 Nick Clemens 2021-08-12 15:31:36 UTC
Created attachment 123816 [details] [review]
Bug 22605: Add ability to edit a search on staff interface

This patch adds the ability to parse the current search and populate the advanced search page on the staff side accordingly.
When searching you will now have an 'Edit this search' link underneath your current search terms

A few notes:
1 - Previous selected items appear with a checkbox, unchecking 'disables' them and removes from the search
2 - Facets and unrecognized limits will appear at the end of the form under 'Other limits' - there could be future enhancement to parse there better, but I believe this is sufficient for now
3 - Previously selected branch or group selections will populate the dropdowns, only one is allowed

To test:
1 - Perform a variety of search on the staff interface
2 - Confirm the 'edit search' button appear below your search
3 - Confirm that options are retained and correctly parsed
4 - Test with library groups - you should be able to combine groups after initial search, or remove individual libraries when editing
5 - Test that selecting a goup disables the individual libraries options

QA note: Missing filters on deletion of keys form hash are false positives
Comment 15 Nick Clemens 2021-08-13 18:04:38 UTC
Created attachment 123839 [details] [review]
Bug 22605: Add ability to edit a search on staff interface

This patch adds the ability to parse the current search and populate the advanced search page on the staff side accordingly.
When searching you will now have an 'Edit this search' link underneath your current search terms

A few notes:
1 - Previous selected items appear with a checkbox, unchecking 'disables' them and removes from the search
2 - Facets and unrecognized limits will appear at the end of the form under 'Other limits' - there could be future enhancement to parse there better, but I believe this is sufficient for now
3 - Previously selected branch or group selections will populate the dropdowns, only one is allowed

To test:
1 - Perform a variety of search on the staff interface
2 - Confirm the 'edit search' button appear below your search
3 - Confirm that options are retained and correctly parsed
4 - Test with library groups - you should be able to combine groups after initial search, or remove individual libraries when editing
5 - Test that selecting a goup disables the individual libraries options

QA note: Missing filters on deletion of keys form hash are false positives
Comment 16 Nick Clemens 2021-08-13 19:51:38 UTC
Created attachment 123840 [details] [review]
Bug 22605: Add ability to edit a search on staff interface

This patch adds the ability to parse the current search and populate the advanced search page on the staff side accordingly.
When searching you will now have an 'Edit this search' link underneath your current search terms

A few notes:
1 - Previous selected items appear with a checkbox, unchecking 'disables' them and removes from the search
2 - Facets and unrecognized limits will appear at the end of the form under 'Other limits' - there could be future enhancement to parse there better, but I believe this is sufficient for now
3 - Previously selected branch or group selections will populate the dropdowns, only one is allowed

To test:
1 - Perform a variety of search on the staff interface
2 - Confirm the 'edit search' button appear below your search
3 - Confirm that options are retained and correctly parsed
4 - Test with library groups - you should be able to combine groups after initial search, or remove individual libraries when editing
5 - Test that selecting a goup disables the individual libraries options

QA note: Missing filters on deletion of keys form hash are false positives
Comment 17 Andrew Fuerste-Henry 2021-08-18 16:06:38 UTC
Created attachment 123965 [details] [review]
Bug 22605: Add ability to edit a search on staff interface

This patch adds the ability to parse the current search and populate the advanced search page on the staff side accordingly.
When searching you will now have an 'Edit this search' link underneath your current search terms

A few notes:
1 - Previous selected items appear with a checkbox, unchecking 'disables' them and removes from the search
2 - Facets and unrecognized limits will appear at the end of the form under 'Other limits' - there could be future enhancement to parse there better, but I believe this is sufficient for now
3 - Previously selected branch or group selections will populate the dropdowns, only one is allowed

To test:
1 - Perform a variety of search on the staff interface
2 - Confirm the 'edit search' button appear below your search
3 - Confirm that options are retained and correctly parsed
4 - Test with library groups - you should be able to combine groups after initial search, or remove individual libraries when editing
5 - Test that selecting a goup disables the individual libraries options

QA note: Missing filters on deletion of keys form hash are false positives

https://bugs.koha-community.org/show_bug.cgi?id=26605

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Comment 18 Katrin Fischer 2021-10-20 21:50:27 UTC
Hi Nick,

started retesting this:

1) Boolean opeators are not kept
Starting with the advanced search in 'less options' mode.

* Search for a simple keyword - OK
* Add another keyword on the next input field - OK
* When you return to search, it has switched from 'less' to 'more' - OKish
* Switch the operator from and to not or or
* When you return to serach, the operator has switched back to 'and' - BAD

2) Subtype search

The subtype searches behave in a bit of an unexpected way:

* Search for a set of the 4 subtypes
* Return to serach - checkboxes appear instead of preselected pull-downs

It looks like this will allow to search for more than one of each, but I feel like this might be better as a separate feature with a little more work.

I see an issue in that you can't search multiple right away (or I didn't figure out how to). You have to add one audience... search... return... add another. That makes it a lot of clicks to add 3 options. 

For this feature... could we just go with making the right preselections on the pull downs and rethink the multiple option feature a bit more?
Comment 19 Nick Clemens 2021-10-22 11:38:18 UTC
Created attachment 126746 [details] [review]
Bug 22605: Add ability to edit a search on staff interface

This patch adds the ability to parse the current search and populate the advanced search page on the staff side accordingly.
When searching you will now have an 'Edit this search' link underneath your current search terms

A few notes:
1 - Previous selected items appear with a checkbox, unchecking 'disables' them and removes from the search
2 - Facets and unrecognized limits will appear at the end of the form under 'Other limits' - there could be future enhancement to parse there better, but I believe this is sufficient for now
3 - Previously selected branch or group selections will populate the dropdowns, only one is allowed

To test:
1 - Perform a variety of search on the staff interface
2 - Confirm the 'edit search' button appear below your search
3 - Confirm that options are retained and correctly parsed
4 - Test with library groups - you should be able to combine groups after initial search, or remove individual libraries when editing
5 - Test that selecting a goup disables the individual libraries options

QA note: Missing filters on deletion of keys form hash are false positives

https://bugs.koha-community.org/show_bug.cgi?id=26605

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Comment 20 Nick Clemens 2021-10-22 11:38:22 UTC
Created attachment 126747 [details] [review]
Bug 22605: (follow-up) Fix operators

- Don't add an operator on first loop
- Only add plus option on last loop
- Fix indentation of first search box
- Remove spaces from operators in query_cgi and add to query and query_desc
Comment 21 Nick Clemens 2021-10-22 11:38:27 UTC
Created attachment 126748 [details] [review]
Bug 22605: Preselect subtype limits and don't allow multiple

Dropdowns moved to an include, checked and preseleced
Comment 22 Katrin Fischer 2021-10-24 12:14:19 UTC
I am sorry Nick, but the Audience sub type doesn't stick and I couldn't spot the mistake. Please also fix your missing TT filters.
Comment 23 Nick Clemens 2021-10-25 17:13:58 UTC
Created attachment 126838 [details] [review]
Bug 22605: (follow-up) Add selected to audience attributes
Comment 24 Katrin Fischer 2021-10-25 20:32:01 UTC
You didn't fix the missing TT filters... I will.
Comment 25 Katrin Fischer 2021-10-25 20:36:22 UTC
Created attachment 126851 [details] [review]
Bug 22605: (QA follow-up) Add missing TT filters
Comment 26 Katrin Fischer 2021-10-25 20:37:55 UTC
Sorry, lucky find (or unlucky): From the formats pull down, Braille won't stick. I believe because it's a combined one: l-format:tc or l-format:fb 

Please keep my follow-up for the TT filters when attaching a follow-up!
Comment 27 Katrin Fischer 2021-10-25 20:48:27 UTC
Created attachment 126852 [details] [review]
Bug 22605: Add ability to edit a search on staff interface

This patch adds the ability to parse the current search and populate the advanced search page on the staff side accordingly.
When searching you will now have an 'Edit this search' link underneath your current search terms

A few notes:
1 - Previous selected items appear with a checkbox, unchecking 'disables' them and removes from the search
2 - Facets and unrecognized limits will appear at the end of the form under 'Other limits' - there could be future enhancement to parse there better, but I believe this is sufficient for now
3 - Previously selected branch or group selections will populate the dropdowns, only one is allowed

To test:
1 - Perform a variety of search on the staff interface
2 - Confirm the 'edit search' button appear below your search
3 - Confirm that options are retained and correctly parsed
4 - Test with library groups - you should be able to combine groups after initial search, or remove individual libraries when editing
5 - Test that selecting a goup disables the individual libraries options

QA note: Missing filters on deletion of keys form hash are false positives

https://bugs.koha-community.org/show_bug.cgi?id=26605

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Comment 28 Katrin Fischer 2021-10-25 20:48:32 UTC
Created attachment 126853 [details] [review]
Bug 22605: (follow-up) Fix operators

- Don't add an operator on first loop
- Only add plus option on last loop
- Fix indentation of first search box
- Remove spaces from operators in query_cgi and add to query and query_desc
Comment 29 Katrin Fischer 2021-10-25 20:48:37 UTC
Created attachment 126854 [details] [review]
Bug 22605: Preselect subtype limits and don't allow multiple

Dropdowns moved to an include, checked and preseleced
Comment 30 Katrin Fischer 2021-10-25 20:48:42 UTC
Created attachment 126855 [details] [review]
Bug 22605: (follow-up) Add selected to audience attributes
Comment 31 Katrin Fischer 2021-10-25 20:49:01 UTC
Created attachment 126856 [details] [review]
Bug 22605: (QA follow-up) Add missing TT filters
Comment 32 Katrin Fischer 2021-10-25 20:49:12 UTC
Created attachment 126857 [details] [review]
Bug 22605: (QA follow-up) Make Braille search option stick

To test:
- Add to records, one with 007 fb and another with 007 tc
- Search for Format: Braille from the advanced search
- Verify both records are found
- Return to advanced search
- Verify that Braille is still selected
- Rerun search - same results show
Comment 33 Katrin Fischer 2021-10-25 20:49:51 UTC
Created attachment 126858 [details] [review]
Bug 22605: Add ability to edit a search on staff interface

This patch adds the ability to parse the current search and populate the advanced search page on the staff side accordingly.
When searching you will now have an 'Edit this search' link underneath your current search terms

A few notes:
1 - Previous selected items appear with a checkbox, unchecking 'disables' them and removes from the search
2 - Facets and unrecognized limits will appear at the end of the form under 'Other limits' - there could be future enhancement to parse there better, but I believe this is sufficient for now
3 - Previously selected branch or group selections will populate the dropdowns, only one is allowed

To test:
1 - Perform a variety of search on the staff interface
2 - Confirm the 'edit search' button appear below your search
3 - Confirm that options are retained and correctly parsed
4 - Test with library groups - you should be able to combine groups after initial search, or remove individual libraries when editing
5 - Test that selecting a goup disables the individual libraries options

QA note: Missing filters on deletion of keys form hash are false positives

https://bugs.koha-community.org/show_bug.cgi?id=26605

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 34 Katrin Fischer 2021-10-25 20:49:56 UTC
Created attachment 126859 [details] [review]
Bug 22605: (follow-up) Fix operators

- Don't add an operator on first loop
- Only add plus option on last loop
- Fix indentation of first search box
- Remove spaces from operators in query_cgi and add to query and query_desc

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 35 Katrin Fischer 2021-10-25 20:50:02 UTC
Created attachment 126860 [details] [review]
Bug 22605: Preselect subtype limits and don't allow multiple

Dropdowns moved to an include, checked and preseleced

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 36 Katrin Fischer 2021-10-25 20:50:20 UTC
Created attachment 126862 [details] [review]
Bug 22605: (follow-up) Add selected to audience attributes

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 37 Katrin Fischer 2021-10-25 20:50:29 UTC
Created attachment 126863 [details] [review]
Bug 22605: (QA follow-up) Add missing TT filters

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 38 Katrin Fischer 2021-10-25 20:50:34 UTC
Created attachment 126864 [details] [review]
Bug 22605: (QA follow-up) Make Braille search option stick

To test:
- Add to records, one with 007 fb and another with 007 tc
- Search for Format: Braille from the advanced search
- Verify both records are found
- Return to advanced search
- Verify that Braille is still selected
- Rerun search - same results show

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 39 Nick Clemens 2021-10-26 09:50:46 UTC
(In reply to Katrin Fischer from comment #37)
> Created attachment 126863 [details] [review] [review]
> Bug 22605: (QA follow-up) Add missing TT filters
> 
> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

I don't know if this is necessary - I think these are false warnings as the data is not displayed
Comment 40 Katrin Fischer 2021-10-26 09:53:15 UTC
(In reply to Nick Clemens from comment #39)
> (In reply to Katrin Fischer from comment #37)
> > Created attachment 126863 [details] [review] [review] [review]
> > Bug 22605: (QA follow-up) Add missing TT filters
> > 
> > Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
> 
> I don't know if this is necessary - I think these are false warnings as the
> data is not displayed

Hm that could be, not insisting and leaving to Joubu. I only used the automatic scripts, that probably doesn't know about delete?
Comment 41 Jonathan Druart 2021-10-28 13:29:22 UTC
(In reply to Katrin Fischer from comment #40)
> (In reply to Nick Clemens from comment #39)
> > (In reply to Katrin Fischer from comment #37)
> > > Created attachment 126863 [details] [review] [review] [review] [review]
> > > Bug 22605: (QA follow-up) Add missing TT filters
> > > 
> > > Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
> > 
> > I don't know if this is necessary - I think these are false warnings as the
> > data is not displayed
> 
> Hm that could be, not insisting and leaving to Joubu. I only used the
> automatic scripts, that probably doesn't know about delete?

See bug 29350.
Comment 42 Jonathan Druart 2021-11-08 11:06:49 UTC
I am sorry, this one missed 21.11 (because of me, last week was crazy). There are too many changes in a controller with fragile code, I am not confident with doing an exception with these patches. Postponed.
Comment 43 Nick Clemens 2022-03-16 10:19:03 UTC
Created attachment 131775 [details] [review]
Bug 22605: Add ability to edit a search on staff interface

This patch adds the ability to parse the current search and populate the advanced search page on the staff side accordingly.
When searching you will now have an 'Edit this search' link underneath your current search terms

A few notes:
1 - Previous selected items appear with a checkbox, unchecking 'disables' them and removes from the search
2 - Facets and unrecognized limits will appear at the end of the form under 'Other limits' - there could be future enhancement to parse there better, but I believe this is sufficient for now
3 - Previously selected branch or group selections will populate the dropdowns, only one is allowed

To test:
1 - Perform a variety of search on the staff interface
2 - Confirm the 'edit search' button appear below your search
3 - Confirm that options are retained and correctly parsed
4 - Test with library groups - you should be able to combine groups after initial search, or remove individual libraries when editing
5 - Test that selecting a goup disables the individual libraries options

QA note: Missing filters on deletion of keys form hash are false positives

https://bugs.koha-community.org/show_bug.cgi?id=26605

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 44 Nick Clemens 2022-03-16 10:19:08 UTC
Created attachment 131776 [details] [review]
Bug 22605: (follow-up) Fix operators

- Don't add an operator on first loop
- Only add plus option on last loop
- Fix indentation of first search box
- Remove spaces from operators in query_cgi and add to query and query_desc

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 45 Nick Clemens 2022-03-16 10:19:12 UTC
Created attachment 131777 [details] [review]
Bug 22605: Preselect subtype limits and don't allow multiple

Dropdowns moved to an include, checked and preseleced

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 46 Nick Clemens 2022-03-16 10:19:18 UTC
Created attachment 131778 [details] [review]
Bug 22605: (follow-up) Add selected to audience attributes

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 47 Nick Clemens 2022-03-16 10:19:23 UTC
Created attachment 131779 [details] [review]
Bug 22605: (QA follow-up) Make Braille search option stick

To test:
- Add to records, one with 007 fb and another with 007 tc
- Search for Format: Braille from the advanced search
- Verify both records are found
- Return to advanced search
- Verify that Braille is still selected
- Rerun search - same results show

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 48 Fridolin Somers 2022-03-24 19:51:16 UTC
QA tools shows :

 FAIL	koha-tmpl/intranet-tmpl/prog/en/includes/subtype_limits.inc
   FAIL	  spelling
		 Theses ==> These, thesis
		 Theses ==> These, thesis

But this is not caused by this bug.
If valid create another bug report.
Comment 49 Fridolin Somers 2022-03-24 19:55:51 UTC
(In reply to Fridolin Somers from comment #48)
> QA tools shows :
> 
>  FAIL	koha-tmpl/intranet-tmpl/prog/en/includes/subtype_limits.inc
>    FAIL	  spelling
> 		 Theses ==> These, thesis
> 		 Theses ==> These, thesis
> 
> But this is not caused by this bug.
> If valid create another bug report.

Ah heu yes it is created by this bug ^^

But this text is already used in actual master :

koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt:            <option value="ctype:m" >Theses</option>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt:                                        <option value="ctype:m">Theses</option>

So skip
Comment 50 Fridolin Somers 2022-03-24 20:04:52 UTC
Feature looks great.

But I've opened Bug 30357 to improve the display.
Comment 51 Fridolin Somers 2022-03-24 20:13:40 UTC
*** Bug 27568 has been marked as a duplicate of this bug. ***
Comment 52 Fridolin Somers 2022-03-25 00:24:58 UTC
Pushed to master for 22.05, thanks to everybody involved 🦄
Comment 53 Fridolin Somers 2022-03-25 20:15:13 UTC
2 unit tests are failing because of changes in C4::Search

https://jenkins.koha-community.org/view/master/job/Koha_Master_D10/560/

Fixed on master with patch :
Bug 22605: (RM follow-up) Fix test suite
Comment 54 Arthur Suzuki 2022-10-22 22:06:51 UTC
Thanks!

Pushed to 21.11 for 21.11.12
Comment 55 David Cook 2023-03-31 02:44:29 UTC
The way this edit search handles limits is confusing in the UI... but maybe good enough...

I should've upstreamed my local edit search years ago 😅
Comment 56 Caroline Cyr La Rose 2023-04-20 21:24:30 UTC
Already in the manual.