[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
Mon Nov 1 17:43:05 CET 2021


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

Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #125867|0                           |1
        is obsolete|                            |

--- Comment #23 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 127182
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=127182&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>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

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


More information about the Koha-bugs mailing list