Bug 37570 - Add possibility to send request on other url defined by a new syspref SearchAlsoIn
Summary: Add possibility to send request on other url defined by a new syspref SearchA...
Status: Patch doesn't apply
Alias: None
Product: Koha
Classification: Unclassified
Component: Searching (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Thibaud Guillot (thibaud_g)
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-05 13:58 UTC by Thibaud Guillot (thibaud_g)
Modified: 2025-05-06 16:19 UTC (History)
2 users (show)

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


Attachments
Bug 37570: Add SearchAlsoIn syspref (9.87 KB, patch)
2024-08-05 14:16 UTC, Thibaud Guillot (thibaud_g)
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Thibaud Guillot (thibaud_g) 2024-08-05 13:58:26 UTC
Hello

Like OPACSearchForTitleIn I would like to purpose you a new syspref "SearchAlsoIn" which adds the possibility of defining urls to launch the query on other sites.

This can be added on both sides (personal pages and OPAC results pages).
Comment 1 Thibaud Guillot (thibaud_g) 2024-08-05 14:16:43 UTC
Created attachment 170065 [details] [review]
Bug 37570: Add SearchAlsoIn syspref

SearchAlsoIn adds the possibility of defining urls to launch the query
on the other sites.

Dropdown menu appears on both sides (Staff and OPAC results pages)

Test plan:

1) Apply this patch
2) Run updatedatabase
3) Perform a search on both sides (Staff and OPAC)
4) Click on "Search Also In" to see urls option to launch another query
   with your search

Sponsored by: Institut français d’archéologie orientale (IFAO)
Comment 2 Philip Orr 2025-02-11 08:58:43 UTC
Doesn't seem to apply on ktd:
Applying: Bug 37570: Add SearchAlsoIn syspref
Using index info to reconstruct a base tree...
M       catalogue/search.pl
M       installer/data/mysql/mandatory/sysprefs.sql
M       koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/searching.pref
M       koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt
M       koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt
M       opac/opac-search.pl
Falling back to patching base and 3-way merge...
Auto-merging opac/opac-search.pl
Auto-merging koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt
Auto-merging koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt
Auto-merging koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/searching.pref
Auto-merging installer/data/mysql/mandatory/sysprefs.sql
CONFLICT (content): Merge conflict in installer/data/mysql/mandatory/sysprefs.sql
Auto-merging catalogue/search.pl
error: Failed to merge in the changes.
Patch failed at 0001 Bug 37570: Add SearchAlsoIn syspref
Comment 3 Sarah Cornell 2025-05-06 16:19:23 UTC
I like this idea.  I came here to propose the same thing - a staff-side version of "OPACSearchForTitleIn."  I hope to see this move forward!