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

            Bug ID: 37346
           Summary: The VirtualShelf object should have an 'owner'
                    accessor to return the related owner Koha::Patron
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Lists
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

We should add an 'owner' accessor to Koha::Virtualshelf that returns the
Koha::Patron who owns the List.

The cleanest approach would be to rename the current 'owner' database field to
'owner_id' and then write the usual Koha::Object relation wrapper into
Koha::Virtualshelf.

This would improve code consistency and allow for access to the owner directly
from the object in notices.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
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