https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21486
--- Comment #1 from Alex Buckley <[email protected]> --- Created attachment 80251 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=80251&action=edit Bug 21486: Re-added get_pending_issues function to C4/SIP/ILS/Patron.pm This allows the list of a borrower's checked out items to be returned by SIP. Test plan: 1. Make sure SIP is working with the commands: sudo koha-enable-sip <instancename> sudo koha-start-sip <instancename> 2. Check SIP is working with the command: telnet localhost 6001 3. Choose a patron with items checked out to them and set their username and password in the SIPconfig.xml file 4. From inside the Koha-shell from the Koha home directory run the command: misc/sip_cli_emulator.pl -a localhost -p 6001 -su <sip_user_username> -sp <sip_user_password> -l <sip_user_librarybranch> --patron <sip_user_cardnumber> -s " Y " -m patron_information This command is PATRON_INFORMATION, it should return information about the patron. The Y in the 3rd position of the quotes means return the list of the borrowers charged items (items issued to the borrower). 5. Notice the "AU" field is empty: e.g. READ: 64 00120181008 161428000100000001000000000002AOCPL|AA8765432|AEMika SMith|BLY|CC5|AU|PCB|PIY|AFGreetings from Koha. | i.e. There should be a barcode after the AU field as the borrower has a item issued to them 6. Apply patch 7. Restart memcached and plack with the commands: sudo service memcached restart sudo koha-plack --restart <instancename> 8. Stop SIP: sudo koha-stop-sip <instancename> 9. Then enable and start SIP again: sudo koha-enable-sip <instancename> sudo koha-start-sip <instancename> 10. Repeat step 4 and notice the AU field does have a item barcode value: e.g. READ: 64 00120181008 161859000100000001000000000002AOCPL|AA8765432|AEMika SMith|BLY|CC5|AUTEST7474747474|PCB|PIY|AFGreetings from Koha. | In this case the item barcode value for the AU field is: TEST7474747474 Sponsored-By: Brimbank Library, Australia -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ 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/
