6cf8c901f5
This patch uses the patron category of the patron who requested the most relevant recall to check for more specific circulation rules relating to recalls. This ensures that patrons who are allowed to place recalls are able to fill their recalls, especially when recalls are not generally available for all patron categories. To test: 1) Go to Administration -> System preferences and enable UseRecalls 2) Go to Administration -> Circulation and fines rules and set a general All/All rule and a Category A/Itemtype A rule. All values can be set however you like except for these recalls rules: All/All rule: Recalls allowed: 0 Recalls per record: 0 On shelf recalls allowed: if any unavailable Category A/Itemtype A rule: Recalls allowed: 5 Recalls per record: 5 On shelf recalls allowed: if any unavailable 3) Find an item of Itemtype A. Check it out to Patron A (any category). 4) Log into the OPAC as Patron B (of Category A). Find the item and place a recall on the item. 5) Back in the staff interface, check in the item. This should trigger the recalls process so you can allocate the item to Patron B's recall, however the pop-up box to confirm the recall does not show. This is the bug. 6) Apply the patch and restart services 7) Check in the item again. Confirm the pop-up box to confirm the recall shows and you are able to allocate the item to Patron B's recall. 8) Confirm tests pass t/db_dependent/Koha/Item.t Sponsored-by: Auckland University of Technology Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> |
||
---|---|---|
.. | ||
Acquisition | ||
api/v1 | ||
Auth | ||
AuthoritiesMarc | ||
Authority | ||
Biblio | ||
Budgets | ||
Circulation | ||
CourseReserves | ||
Creators | ||
cronjobs | ||
data | ||
Exporter | ||
Holds | ||
Illrequest | ||
Items | ||
Koha | ||
Labels | ||
LDAP | ||
Letters | ||
Members | ||
misc/translator | ||
OAI | ||
Patron | ||
Record | ||
Reports | ||
Reserves | ||
Search | ||
selenium | ||
Serials | ||
SIP | ||
Template/Plugin | ||
Utils | ||
www | ||
00-strict.t | ||
01-test_dbic.t | ||
Accounts.t | ||
Acquisition.t | ||
Amazon.t | ||
ArticleRequests.t | ||
AudioAlerts.t | ||
Auth.t | ||
Auth_with_cas.t | ||
Auth_with_ldap.t | ||
AuthorisedValues.t | ||
AuthoritiesMarc.t | ||
AuthoritiesMarc_GetTagsLabels.t | ||
AuthUtils.t | ||
BackgroundJob.t | ||
Barcodes.t | ||
Barcodes_ValueBuilder.t | ||
Biblio.t | ||
Biblio_holdsqueue.t | ||
Breeding.t | ||
Budgets.t | ||
Cache.t | ||
Calendar.t | ||
Charset.t | ||
check_kohastructure.t | ||
check_sysprefs.t | ||
Circulation.t | ||
Circulation_holdsqueue.t | ||
Clubs.t | ||
Context.t | ||
Contract.t | ||
CourseReserves.t | ||
db_structure.t | ||
DecreaseLoanHighHolds.t | ||
Filter_MARC_ViewPolicy.t | ||
Fines.t | ||
FrameworkPlugin.t | ||
Heading.t | ||
Heading_MARC21.t | ||
Hold.t | ||
Holds.t | ||
HoldsQueue.t | ||
Holidays.t | ||
Illcomments.t | ||
Illrequestattributes.t | ||
Illrequests.t | ||
ILSDI_Services.t | ||
ImportBatch.t | ||
ImportExportFramework.t | ||
Installer.t | ||
Items.t | ||
Koha.t | ||
Koha_Database.t | ||
Koha_Elasticsearch.t | ||
Koha_ExternalContent_OverDrive.t | ||
Koha_ExternalContent_RecordedBooks.t | ||
Koha_MetadataRecord_Authority.t | ||
Koha_Misc_Files.t | ||
Languages.t | ||
Letters.t | ||
LibraryGroups.t | ||
Linker_Default.t | ||
Linker_FirstMatch.t | ||
Log.t | ||
MarcModificationTemplates.t | ||
Members.t | ||
Message.t | ||
MungeMarcPrice.t | ||
Overdues.t | ||
Passwordrecovery.t | ||
Patroncards.t | ||
PatronLists.t | ||
Patrons.t | ||
Record.t | ||
RecordProcessor_EmbedSeeFromHeadings.t | ||
Reports.t | ||
Reserves.t | ||
rollingloans.t | ||
RotatingCollections.t | ||
Search.t | ||
Serials.t | ||
Serials_2.t | ||
Service.t | ||
ShelfBrowser.t | ||
Sitemapper.t | ||
Stats.t | ||
StockRotationItems.t | ||
StockRotationRotas.t | ||
StockRotationStages.t | ||
SuggestionEngine_ExplodedTerms.t | ||
Suggestions.t | ||
sysprefs.t | ||
TablesSettings.t | ||
Tags.t | ||
Templates.t | ||
TestBuilder.t | ||
Upload.t | ||
UsageStats.t | ||
Virtualshelves.t | ||
XISBN.t | ||
XSLT.t | ||
yaml.t | ||
zebra_config.pl |