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

--- Comment #5 from Martin Renvoize <[email protected]> ---
# Get a list of required attributes
my $required_attribute_types =
    Koha::Patron::Attribute::Types->search_with_library_limits(
        { mandatory => 1 },
        {}, $self->library->branchcode )->get_column('type');

We got stuck at deciding what mandatory actually means.. right now we delete
all attributes for the patron at the library the staff member is logged in at
(the patron may well have a different home library).

Should we be checking against their home library for mandatory attributes.. or
the staff users library?

The above query gets the patrons home libraries mandatory attribute list.. but
until we know the answer to this intermediary question it's hard to know
how/when/what error to throw.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to