Bugzilla – Attachment 169306 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.09 KB, created by
Brendan Lawlor
on 2024-07-22 14:23:55 UTC
(
hide
)
Description:
Bug 14322: (follow-up) make shareable link load results immediately
Filename:
MIME Type:
Creator:
Brendan Lawlor
Created:
2024-07-22 14:23:55 UTC
Size:
1.09 KB
patch
obsolete
>From 62744d9e71ee834e84ba26c8a6227f4cd9a01af7 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 > >--- > .../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 dbfeb9b4e7..95d44208f9 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.39.2
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