[Koha-bugs] [Bug 20256] Add ability to limit editing of items to home library or library group

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 10 15:20:01 CEST 2021


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

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

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

--- Comment #256 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 121780
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=121780&action=edit
Bug 20256: (QA follow-up) test borrowernumber in userenv too

Bug 22600 added userenv for scripts, so userenv is defined, but some of
values in userenv not

Test plan:
Run with some params: misc/cronjobs/delete_items.pl

--> without this patch you will se error message:
    Can't call method "can_edit_item" on an undefined value at
/home/vagrant/kohaclone/C4/Items.pm line 1748
--> with this patch everything works smoothly

Signed-off-by: Bob Bennhoff - CLiC <bbennhoff at clicweb.org>
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