[Koha-bugs] [Bug 24370] Editing purchase suggestion changes the acquisition library to logged-in user's

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Oct 20 20:25:20 CEST 2020


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

--- Comment #9 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 112073
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=112073&action=edit
Bug 24370: (QA follow-up) Make new suggestions default to the library you re
viewing

It looks like this problem was caused by code from bug 25033, we were
attempting to have the
dropdown either be the current branch filter, or the suggestion's branch code,
but the variables here are confusing and it didn't work

This explicitly sets the branchcode when creating a new suggestion to allow
fixing current behaviour and
show the correct value when creating new

To test:
1 - Be signed in as branch A
2 - Browse to suggestions and limit to branch "Any"
3 - Click 'New suggestion"
4 - Defaults to Any
5 - Cancel and limit to branch B
6 - New suggestion defaults to branch B

Signed-off-by: Nick Clemens <nick at bywatersolutions.com>

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


More information about the Koha-bugs mailing list