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

            Bug ID: 17781
           Summary: Improper branchcode set during renewal
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Circulation
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected]

For no discernable reason, when AddIssue calls AddRenewal, it passes the
branchcode generated from _GetCircControlBranch. Assume _GetCircControlBranch
is set to return items.homebranch. So:
1) If an item owned by LibraryA is checked out at LibraryB, the statistic line
branchcode will be LibraryB
2) If an item is renewed via the ajax datatables renewal function, the
statistic line branchcode will be LibraryB
3) If an item is renewed via scanning the item into the checkout again, the
statistic line branchcode will be *LibraryA*

This is clearly improper behavior. The renewal is taking place at LibraryB, so
the branchcode passed to AddRenewal should be LibraryB, the logged in library.
This also jives with the documentation for the subroutine.

-- 
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]
http://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