[Koha-bugs] [Bug 36302] Patron search from search bar broken

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 13 06:47:36 CET 2024


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

--- Comment #9 from Jonathan Druart <jonathan.druart at gmail.com> ---
defer_loading is coming from 

  commit f6394501f2ae6468cef8279ba8e296427cb69188
  Bug 30063: Restore back behaviour

See 30063 comment 23 (point 6).

To recreate:
1. search 'henry'
2. the table loads, only one result
3. redirected to the patron detail view
4. go back
5. the table loads, only one result
6. redirected to the patron detail view

5 should not display the table result.

It's the behaviour on master, which is broken by this patch.


The regression has been introduced by
  commit f3bd0e7ebddac73552dd175b39d458855d7d663e
  Bug 34478: Manual fix - change to get remove csrf token - member-search-box
where we changed from POST to GET and so we do no longer set the variable:

members/member.pl:72 my $defer_loading = $input->request_method() eq "GET"  &&
!$circsearch ? 1 : 0;

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list