Bugzilla – Attachment 125821 Details for
Bug 27725
Use JavaScript to set history state during patron search
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27725: (follow-up) Remove code for clearing search results
Bug-27725-follow-up-Remove-code-for-clearing-searc.patch (text/plain), 1.28 KB, created by
Owen Leonard
on 2021-10-06 14:32:22 UTC
(
hide
)
Description:
Bug 27725: (follow-up) Remove code for clearing search results
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2021-10-06 14:32:22 UTC
Size:
1.28 KB
patch
obsolete
>From 54cb746f9f4e8566350636a05eda06a99704791e Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Wed, 6 Oct 2021 14:27:41 +0000 >Subject: [PATCH] Bug 27725: (follow-up) Remove code for clearing search > results > >This patch removes code which cleared search results if there was no >first-letter search. It was unnecessary for the letter search >functionality and made all other searches fail. >--- > koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt | 6 ------ > 1 file changed, 6 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt >index ff2d02a323..e20bd380c0 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt >@@ -520,12 +520,6 @@ > /* Trigger function to return search results by letter */ > filterByFirstLetterSurname( firstletter, setstate ); > } >- } else { >- /* No letter search param; Return page to default state with no results */ >- update_searched(); >- search = 0; >- $("#searchresults").hide(); >- dtMemberResults.fnDraw(); > } > } > >-- >2.20.1
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 27725
:
117009
|
117123
|
123881
|
123913
|
125683
| 125821