Bugzilla – Attachment 170349 Details for
Bug 14322
Add option to create a shareable link for item searches
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14322: (follow-up) make shareable link load results immediately
Bug-14322-follow-up-make-shareable-link-load-resul.patch (text/plain), 1.18 KB, created by
Paul Derscheid
on 2024-08-15 10:30:52 UTC
(
hide
)
Description:
Bug 14322: (follow-up) make shareable link load results immediately
Filename:
MIME Type:
Creator:
Paul Derscheid
Created:
2024-08-15 10:30:52 UTC
Size:
1.18 KB
patch
obsolete
>From 228fa743674c7cd043ef8450a955265f3808c501 Mon Sep 17 00:00:00 2001 >From: Brendan Lawlor <blawlor@clamsnet.org> >Date: Mon, 22 Jul 2024 14:20:46 +0000 >Subject: [PATCH] Bug 14322: (follow-up) make shareable link load results > immediately > >Signed-off-by: David Nind <david@davidnind.com> >Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> >--- > .../intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt | 6 ++++++ > 1 file changed, 6 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt >index a6bc5402ce..198f7ae889 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt >@@ -826,6 +826,12 @@ > selectField.style.minWidth = '320px'; > $(selectField).select2(); > }); >+ >+ let urlParams = new URLSearchParams(window.location.search) >+ if(urlParams.get('format') === 'shareable' ) { >+ submitForm($('#itemsearchform')); >+ $("#item-search-block").hide(); >+ } > }); > </script> > [% END %] >-- >2.46.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 14322
:
164962
|
168084
|
168768
|
168863
|
169029
|
169033
|
169304
|
169305
|
169306
|
169948
|
169949
|
169950
|
169951
|
169952
|
169969
|
169970
|
169971
|
169972
|
169973
|
170347
|
170348
|
170349
|
170350
|
170351
|
170352
|
170721
|
170722
|
170723
|
170724
|
170725
|
170726
|
170727