Koha-clms/Koha/Schema/Result
Martin Renvoize c88dcc3a48 Bug 29495: (follow-up) Use 'item' relationship
This patch adds the missing 'item' relationship in
Checkouts::ReturnClaim and then uses it from the resolve method.

This improve the reliability of the resolution code so it works when the
item has already been checked in (without having to check
Old::Checkouts).

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-02-04 13:27:06 -05:00
..
AccountCreditType.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
AccountCreditTypesBranch.pm Bug 23805: DBIC Classes 2019-10-24 17:35:19 +01:00
AccountDebitType.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
AccountDebitTypesBranch.pm Bug 23049: Add DBIC Classes 2019-10-24 17:25:30 +01:00
AccountOffset.pm Bug 22435: Update DBIC Schema's 2021-08-04 14:06:43 +02:00
Accountline.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
ActionLog.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
AdditionalContent.pm Bug 24387: DBIC schema changes 2021-08-16 11:55:55 +02:00
AdditionalField.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
AdditionalFieldValue.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
AdvancedEditorMacro.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Alert.pm Bug 13535: DBIC schema changes 2020-10-08 16:18:19 +02:00
ApiKey.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Aqbasket.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Aqbasketgroup.pm Bug 24461: Add to_api_mapping to Koha::Acquisition::BasketGroup 2020-03-24 11:32:37 +00:00
Aqbasketuser.pm
…
Aqbookseller.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Aqbudget.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Aqbudgetborrower.pm
…
Aqbudgetperiod.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
AqbudgetsPlanning.pm
…
Aqcontact.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Aqcontract.pm
…
Aqinvoice.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
AqinvoiceAdjustment.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Aqorder.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
AqorderUser.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
AqordersClaim.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
AqordersItem.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
AqordersTransfer.pm
…
ArticleRequest.pm Bug 29093: DBIC schema changes 2021-10-15 11:34:26 +02:00
AudioAlert.pm
…
AuthHeader.pm Bug 23152: Fix more pluralisation (and add tests) 2019-10-24 17:01:45 +01:00
AuthSubfieldStructure.pm Bug 8976: DBIC schema changes 2021-03-01 15:14:22 +01:00
AuthTagStructure.pm Bug 23152: Implement koha_object[s]_class when needed 2019-06-24 16:36:57 +01:00
AuthType.pm Bug 23152: Implement koha_object[s]_class when needed 2019-06-24 16:36:57 +01:00
AuthorisedValue.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
AuthorisedValueCategory.pm Bug 17355: DBIC changes - boolean flag 2020-05-04 07:57:21 +01:00
AuthorisedValuesBranch.pm
…
BackgroundJob.pm Bug 29386: DBIC schema changes 2021-11-05 12:13:25 +01:00
Biblio.pm Bug 28972: DBIC schema changes 2021-09-20 14:04:48 +02:00
BiblioFramework.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
BiblioMetadata.pm Bug 23152: Fix more pluralisation (and add tests) 2019-10-24 17:01:45 +01:00
Biblioitem.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Borrower.pm Bug 28972: DBIC schema changes 2021-09-20 14:04:48 +02:00
BorrowerAttribute.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
BorrowerAttributeType.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
BorrowerAttributeTypesBranch.pm
…
BorrowerDebarment.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
BorrowerFile.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
BorrowerMessagePreference.pm
…
BorrowerMessageTransportPreference.pm
…
BorrowerModification.pm Bug 11879: DBIC schema changes 2021-07-12 15:47:33 +02:00
BorrowerPasswordRecovery.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
BorrowerRelationship.pm Bug 14570: (RM follow-up) Add class relatinship to BorrowerRelationship 2019-08-21 08:24:27 +01:00
Branch.pm Bug 29341: DBIC schema changes 2021-11-19 15:23:27 +01:00
BranchTransferLimit.pm Bug 23152: Implement koha_object[s]_class when needed 2019-06-24 16:36:57 +01:00
BranchesOverdrive.pm Bug 23152: Implement koha_object[s]_class when needed 2019-06-24 16:36:57 +01:00
Branchtransfer.pm Bug 24434: DBIC Update 2021-06-15 16:41:47 +02:00
Browser.pm
…
CashRegister.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
CashRegisterAction.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
CategoriesBranch.pm
…
Category.pm Bug 29341: DBIC schema changes 2021-11-19 15:23:27 +01:00
CirculationRule.pm Bug 18930: (RM follow-up) Restore primary key find 2019-07-16 13:53:54 +01:00
City.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
ClassSortRule.pm
…
ClassSource.pm Bug 15836: DBRev 18.06.00.060 2018-11-13 16:21:22 +00:00
ClassSplitRule.pm Bug 15836: DBRev 18.06.00.060 2018-11-13 16:21:22 +00:00
Club.pm Bug 19618: DBRev 19.06.00.030 2019-10-01 08:14:59 +01:00
ClubEnrollment.pm Bug 23152: Implement koha_object[s]_class when needed 2019-06-24 16:36:57 +01:00
ClubEnrollmentField.pm Bug 23152: Implement koha_object[s]_class when needed 2019-06-24 16:36:57 +01:00
ClubField.pm Bug 23152: Implement koha_object[s]_class when needed 2019-06-24 16:36:57 +01:00
ClubHold.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
ClubHoldsToPatronHold.pm Bug 16787: DBIC schema changes 2021-04-22 14:49:58 +02:00
ClubTemplate.pm Bug 23152: Implement koha_object[s]_class when needed 2019-06-24 16:36:57 +01:00
ClubTemplateEnrollmentField.pm Bug 23152: Implement koha_object[s]_class when needed 2019-06-24 16:36:57 +01:00
ClubTemplateField.pm Bug 23152: Implement koha_object[s]_class when needed 2019-06-24 16:36:57 +01:00
Collection.pm Bug 17202: DBIC schema changes 2021-04-29 09:55:38 +02:00
CollectionsTracking.pm Bug 17202: DBIC schema changes 2021-04-29 09:55:38 +02:00
ColumnsSetting.pm Bug 24156: DBIC changes 2020-06-25 10:51:59 +02:00
Course.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
CourseInstructor.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
CourseItem.pm Bug 14237: (follow-up) Make the routines exclusively take itemnumber, biblionumber, or ci_id 2021-07-12 12:09:44 +02:00
CourseReserve.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
CoverImage.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
CreatorBatch.pm Bug 15766: (RM follow-up) Schema updates 2018-10-24 17:35:18 +00:00
CreatorImage.pm
…
CreatorLayout.pm
…
CreatorTemplate.pm
…
Currency.pm Bug 23152: Implement koha_object[s]_class when needed 2019-06-24 16:36:57 +01:00
Deletedbiblio.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
DeletedbiblioMetadata.pm Bug 22155: Schema updates 2019-01-30 11:36:11 +00:00
Deletedbiblioitem.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Deletedborrower.pm Bug 11879: DBIC schema changes 2021-07-12 15:47:33 +02:00
Deleteditem.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Desk.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Discharge.pm
…
EdifactEan.pm Bug 21417: DBRev 18.06.00.038 2018-10-09 12:57:29 +00:00
EdifactMessage.pm Bug 21294: Replace BOOLEAN with TINYINT(1) in our DB structure 2020-04-29 16:58:45 +01:00
ExportFormat.pm Bug 5087: (QA follow-up) Rename the attribute to fit later API usage 2020-07-23 10:52:10 +02:00
HoldFillTarget.pm Bug 18958: DBIC schema changes 2020-09-18 11:49:29 +02:00
HouseboundProfile.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
HouseboundRole.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
HouseboundVisit.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Illcomment.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Illrequest.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Illrequestattribute.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
ImportAuth.pm
…
ImportBatch.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
ImportBatchProfile.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
ImportBiblio.pm Bug 26853: DBIC schema changes 2020-11-03 10:57:34 +01:00
ImportItem.pm
…
ImportRecord.pm Bug 26326: Add Koha Objects for Import Records and Import Record Matches 2021-11-03 15:40:52 +01:00
ImportRecordMatch.pm Bug 26326: DBIC Schema changes 2021-11-03 15:40:52 +01:00
Issue.pm Bug 29495: Add DBIC relationships back into Schema 2022-02-04 13:27:06 -05:00
Item.pm Bug 22690: DBIC schema changes 2021-08-27 15:28:23 +02:00
ItemCirculationAlertPreference.pm
…
ItemsLastBorrower.pm
…
ItemsSearchField.pm
…
Itemtype.pm Bug 23207: DBIC schema changes 2021-04-22 14:37:14 +02:00
ItemtypeLocalization.pm
…
ItemtypesBranch.pm Bug 15497: Modify schemas 2019-09-12 16:31:06 +01:00
KeyboardShortcut.pm Bug 21411: DBRev 18.12.00.074 2019-05-10 19:05:38 +00:00
LanguageDescription.pm
…
LanguageRfc4646ToIso639.pm
…
LanguageScriptBidi.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
LanguageScriptMapping.pm
…
LanguageSubtagRegistry.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Letter.pm Bug 14233: DBIC schema changes 2021-04-09 15:45:12 +02:00
LibraryGroup.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
LibrarySmtpServer.pm Bug 22343: Add new tables schema file 2020-10-02 10:54:40 +02:00
Linktracker.pm Bug 22690: Add koha_object[s]_class to fix TestBuilder.t 2021-08-27 17:06:09 +02:00
Localization.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
MarcMatcher.pm
…
MarcModificationTemplate.pm
…
MarcModificationTemplateAction.pm Bug 19166: DBRev 18.06.00.009 2018-07-19 17:33:55 +00:00
MarcOverlayRule.pm Bug 14957: DBIC schema changes 2021-10-26 16:46:03 +02:00
MarcSubfieldStructure.pm Bug 8976: DBIC schema changes 2021-03-01 15:14:22 +01:00
MarcTagStructure.pm Bug 8643: DBRev 19.12.00.020 2020-02-11 14:37:34 +00:00
Matchcheck.pm
…
MatcherMatchpoint.pm
…
Matchpoint.pm
…
MatchpointComponent.pm
…
MatchpointComponentNorm.pm
…
Message.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
MessageAttribute.pm
…
MessageQueue.pm Bug 28813: DBIC Schema Update 2021-08-11 12:53:54 +02:00
MessageTransport.pm
…
MessageTransportType.pm
…
MiscFile.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
NeedMergeAuthority.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
OaiSet.pm
…
OaiSetsBiblio.pm
…
OaiSetsDescription.pm
…
OaiSetsMapping.pm Bug 21520: (RM follow-up) Add missed schema update 2020-01-20 14:03:42 +00:00
OauthAccessToken.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
OldIssue.pm Bug 29495: Add DBIC relationships back into Schema 2022-02-04 13:27:06 -05:00
OldReserve.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Overduerule.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
OverduerulesTransportType.pm
…
PatronConsent.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
PatronList.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
PatronListPatron.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Patronimage.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
PendingOfflineOperation.pm
…
Permission.pm
…
PluginData.pm
…
PluginMethod.pm Bug 23152: (RM follow-up) Add handling for Koha::Plugin::Methods 2019-06-24 17:03:19 +01:00
PrintersProfile.pm
…
ProblemReport.pm Bug 27726: DBIC schema changes 2021-04-12 15:27:50 +02:00
PseudonymizedBorrowerAttribute.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
PseudonymizedTransaction.pm Bug 29341: DBIC schema changes 2021-11-19 15:23:27 +01:00
Quote.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Rating.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
RepeatableHoliday.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
ReportsDictionary.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Reserve.pm Bug 24488: Show correct first patron details on Holds to pull 2021-02-08 14:55:59 +01:00
ReturnClaim.pm Bug 29495: (follow-up) Use 'item' relationship 2022-02-04 13:27:06 -05:00
Review.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
SavedReport.pm
…
SavedSql.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
SearchField.pm Bug 19482: DBIC schema changes 2020-11-04 12:59:33 +01:00
SearchHistory.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
SearchMarcMap.pm Bug 18984: DBIC schema changes 2021-10-07 15:49:01 +02:00
SearchMarcToField.pm Bug 21294: Replace BOOLEAN with TINYINT(1) in our DB structure 2020-04-29 16:58:45 +01:00
Serial.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Serialitem.pm Bug 23152: Implement koha_object[s]_class when needed 2019-06-24 16:36:57 +01:00
Session.pm Bug 28489: DBIC schema changes 2021-06-14 17:35:19 +02:00
SmsProvider.pm Bug 23152: Implement koha_object[s]_class when needed 2019-06-24 16:36:57 +01:00
SmtpServer.pm Bug 22343: Add new tables schema file 2020-10-02 10:54:40 +02:00
SocialData.pm Bug 22782: DBIC update for SocialData 2019-05-10 12:14:00 +00:00
SpecialHoliday.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Statistic.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Stockrotationitem.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Stockrotationrota.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Stockrotationstage.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Subscription.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
SubscriptionFrequency.pm Bug 23152: Fix more pluralisation (and add tests) 2019-10-24 17:01:45 +01:00
SubscriptionNumberpattern.pm Bug 23152: Implement koha_object[s]_class when needed 2019-06-24 16:36:57 +01:00
Subscriptionhistory.pm Bug 21901: DBRev 19.12.00.076 2020-04-17 10:17:32 +01:00
Subscriptionroutinglist.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Suggestion.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Systempreference.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
TablesSetting.pm Bug 24156: DBIC changes 2020-06-25 10:51:59 +02:00
Tag.pm
…
TagAll.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
TagsApproval.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
TagsIndex.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
TmpHoldsqueue.pm Bug 28972: DBIC schema changes 2021-09-20 14:04:48 +02:00
TransportCost.pm
…
UploadedFile.pm
…
UserPermission.pm
…
Userflag.pm
…
VendorEdiAccount.pm
…
Virtualshelfcontent.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Virtualshelfshare.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Virtualshelve.pm Bug 28959: DBIC update 2021-10-28 17:47:47 +02:00
Z3950server.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Zebraqueue.pm
…