Koha-clms/Koha/Schema/Result
Tomas Cohen Arazi 2270d92708 Bug 5087: (QA follow-up) Rename the attribute to fit later API usage
This patch renames the introduced attribute for later usage on the API,
and changes the logic to use it the other way around.

It also adds a KEY for the flag, as it will be used in WHERE statements.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 4780930720)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2020-07-30 17:01:53 +00:00
..
AccountCreditType.pm Bug 17702: DBRev 19.12.00.029 2020-02-20 14:51:24 +00:00
AccountCreditTypesBranch.pm Bug 23805: DBIC Classes 2019-10-24 17:35:19 +01:00
AccountDebitType.pm Bug 23354: (QA follow-up) Mark boolean columns in schema 2020-01-13 14:05:47 +00:00
AccountDebitTypesBranch.pm Bug 23049: Add DBIC Classes 2019-10-24 17:25:30 +01:00
AccountOffset.pm Bug 23152: Implement koha_object[s]_class when needed 2019-06-24 16:36:57 +01:00
AccountOffsetType.pm Bug 14826: DBIC Schema changes 2017-10-20 17:14:33 -03:00
Accountline.pm Bug 25998: (QA follow-up) Add DBIC level relation 2020-07-28 14:55:05 +00:00
ActionLog.pm Bug 18336: DBIC Schema changes 2018-02-16 18:12:55 -03:00
AdditionalField.pm
…
AdditionalFieldValue.pm
…
AdvancedEditorMacro.pm Bug 17268: Set boolean for shared column in schema 2020-05-04 08:26:17 +01:00
Alert.pm
…
ApiKey.pm Bug 20568: (QA follow-up) Get rid of the id column 2018-05-09 12:55:59 -03:00
Aqbasket.pm Bug 24463: Add a basket_group relationship for baskets 2020-03-24 08:06:19 +00: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 18177: DBIC changes 2020-03-27 12:16:04 +00:00
Aqbudget.pm Bug 23152: Implement koha_object[s]_class when needed 2019-06-24 16:36:57 +01:00
Aqbudgetborrower.pm
…
Aqbudgetperiod.pm Bug 23152: Implement koha_object[s]_class when needed 2019-06-24 16:36:57 +01:00
AqbudgetsPlanning.pm
…
Aqcontact.pm Bug 21294: Replace BOOLEAN with TINYINT(1) in our DB structure 2020-04-29 16:58:45 +01:00
Aqcontract.pm Bug 18336: DBIC Schema changes 2018-02-16 18:12:55 -03:00
Aqinvoice.pm Bug 23152: Implement koha_object[s]_class when needed 2019-06-24 16:36:57 +01:00
AqinvoiceAdjustment.pm Bug 23152: Implement koha_object[s]_class when needed 2019-06-24 16:36:57 +01:00
Aqorder.pm Bug 24161: Schema Fixes 2020-05-04 09:44:45 +01:00
AqorderUser.pm
…
AqordersClaim.pm Bug 24161: (follow-up) DBIC changes 2020-05-04 12:48:23 +01:00
AqordersItem.pm
…
AqordersTransfer.pm
…
ArticleRequest.pm Bug 22273: DBRev 19.12.00.031 2020-03-02 09:49:58 +00:00
AudioAlert.pm
…
AuthHeader.pm Bug 23152: Fix more pluralisation (and add tests) 2019-10-24 17:01:45 +01:00
AuthSubfieldStructure.pm Bug 23152: Implement koha_object[s]_class when needed 2019-06-24 16:36:57 +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 22887: Schema changes 2020-04-14 17:24:42 +01:00
AuthorisedValueCategory.pm Bug 17355: DBIC changes - boolean flag 2020-05-04 07:57:21 +01:00
AuthorisedValuesBranch.pm
…
Biblio.pm Bug 21901: DBRev 19.12.00.076 2020-04-17 10:17:32 +01:00
BiblioFramework.pm Bug 18577: Add FIXME about the missing FK 2017-07-10 18:10:03 -03:00
BiblioMetadata.pm Bug 23152: Fix more pluralisation (and add tests) 2019-10-24 17:01:45 +01:00
Biblioimage.pm Bug 22987: (RM follow-up) Schema Update 2020-03-20 10:39:58 +00:00
Biblioitem.pm Bug 18336: DBIC Schema changes 2018-02-16 18:12:55 -03:00
Borrower.pm Bug 24379: DBIC changes 2020-07-24 22:13:12 +00:00
BorrowerAttribute.pm Bug 20443: Revert some stuffs from 12159 2020-03-23 13:38:54 +00:00
BorrowerAttributeType.pm Bug 23152: Implement koha_object[s]_class when needed 2019-06-24 16:36:57 +01:00
BorrowerAttributeTypesBranch.pm
…
BorrowerDebarment.pm Bug 18336: DBIC Schema changes 2018-02-16 18:12:55 -03:00
BorrowerFile.pm
…
BorrowerMessagePreference.pm
…
BorrowerMessageTransportPreference.pm
…
BorrowerModification.pm Bug 25086: DBRev 19.12.00.075 2020-04-17 09:13:31 +01:00
BorrowerPasswordRecovery.pm
…
BorrowerRelationship.pm Bug 14570: (RM follow-up) Add class relatinship to BorrowerRelationship 2019-08-21 08:24:27 +01:00
Branch.pm Bug 22630: Schema Update 2020-04-29 17:12:17 +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 24436: Add 'Reserve' options to branchtransfers trigger 2020-03-20 15:59:40 +00:00
Browser.pm
…
CashRegister.pm Bug 23355: [DO NOT PUSH] DBIC Classes 2020-03-03 15:03:00 +00:00
CashRegisterAction.pm Bug 23355: (QA follow-up) Missing koha_object(s)_class definitions 2020-03-03 15:03:02 +00:00
CategoriesBranch.pm
…
Category.pm Bug 23152: Fix more pluralisation (and add tests) 2019-10-24 17:01:45 +01:00
CirculationRule.pm Bug 18930: (RM follow-up) Restore primary key find 2019-07-16 13:53:54 +01:00
City.pm Bug 23152: Fix more pluralisation (and add tests) 2019-10-24 17:01:45 +01:00
ClassSortRule.pm Bug 18336: DBIC Schema changes 2018-02-16 18:12:55 -03:00
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 19618: (RM follow-up) Add missing use statements 2019-10-01 11:46:11 +01:00
ClubHoldsToPatronHold.pm Bug 19618: (RM follow-up) Add missing use statements 2019-10-01 11:46:11 +01: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 18336: DBIC Schema changes 2018-02-16 18:12:55 -03:00
CollectionsTracking.pm
…
ColumnsSetting.pm
…
Course.pm Bug 18336: DBIC Schema changes 2018-02-16 18:12:55 -03:00
CourseInstructor.pm Bug 24768: (RM follow-up) Add missing koha_object_class's 2020-04-17 16:06:08 +01:00
CourseItem.pm Bug 22630: Set is_boolean flag for course_items.homebranch_enabled 2020-04-29 17:08:13 +01:00
CourseReserve.pm Bug 24768: (RM follow-up) Add missing koha_object_class's 2020-04-17 16:06:08 +01:00
CreatorBatch.pm Bug 15766: (RM follow-up) Schema updates 2018-10-24 17:35:18 +00:00
CreatorImage.pm
…
CreatorLayout.pm Bug 18336: DBIC Schema changes 2018-02-16 18:12:55 -03:00
CreatorTemplate.pm
…
Currency.pm Bug 23152: Implement koha_object[s]_class when needed 2019-06-24 16:36:57 +01:00
Deletedbiblio.pm Bug 24150: Add missing koha_object[s]_class methods and skip for deletedborrowers 2020-01-07 13:44:29 +00:00
DeletedbiblioMetadata.pm Bug 22155: Schema updates 2019-01-30 11:36:11 +00:00
Deletedbiblioitem.pm Bug 24150: Add missing koha_object[s]_class methods and skip for deletedborrowers 2020-01-07 13:44:29 +00:00
Deletedborrower.pm Bug 24379: DBIC changes 2020-07-24 22:13:12 +00:00
Deleteditem.pm Bug 23081: DBIC Update 2020-04-27 11:39:33 +01:00
Desk.pm Bug 13881: Update Schema 2020-03-25 09:29:27 +00: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-30 17:01:53 +00:00
HoldFillTarget.pm
…
HouseboundProfile.pm Bug 23152: Implement koha_object[s]_class when needed 2019-06-24 16:36:57 +01:00
HouseboundRole.pm Bug 23152: Implement koha_object[s]_class when needed 2019-06-24 16:36:57 +01:00
HouseboundVisit.pm Bug 23152: Implement koha_object[s]_class when needed 2019-06-24 16:36:57 +01:00
Illcomment.pm Bug 18591: Add missing schema file 2018-10-27 15:03:03 +00:00
Illrequest.pm Bug 20639: DBRev 18.12.00.016 2019-02-22 14:53:41 +00:00
Illrequestattribute.pm Bug 20772: (QA follow-up) 'readonly' is a boolean 2018-10-13 08:34:33 -03:00
ImportAuth.pm
…
ImportBatch.pm Bug 18336: DBIC Schema changes 2018-02-16 18:12:55 -03:00
ImportBiblio.pm
…
ImportItem.pm Bug 18336: DBIC Schema changes 2018-02-16 18:12:55 -03:00
ImportRecord.pm Bug 22532: DBRev 18.12.00.059 2019-04-18 10:51:21 +00:00
ImportRecordMatch.pm
…
Issue.pm Bug 14697: DBRev 19.06.00.047 2019-10-31 12:18:56 +00:00
Item.pm Bug 23081: DBIC Update 2020-04-27 11:39:33 +01:00
ItemCirculationAlertPreference.pm
…
ItemsLastBorrower.pm
…
ItemsSearchField.pm
…
Itemtype.pm Bug 21443: Mark new columns as boolean in schema file 2020-03-24 11:09:12 +00:00
ItemtypeLocalization.pm Bug 17835: Create a ItemtypeLocalization view 2017-04-14 10:43:51 -04:00
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
…
LanguageScriptMapping.pm
…
LanguageSubtagRegistry.pm
…
Letter.pm Bug 23152: Implement koha_object[s]_class when needed 2019-06-24 16:36:57 +01:00
LibraryGroup.pm Bug 21674: DBRev 19.12.00.017 2020-01-30 15:44:42 +00:00
Linktracker.pm Bug 18336: DBIC Schema changes 2018-02-16 18:12:55 -03:00
Localization.pm Bug 18336: DBIC Schema changes 2018-02-16 18:12:55 -03:00
MarcMatcher.pm
…
MarcModificationTemplate.pm Bug 18336: DBIC Schema changes 2018-02-16 18:12:55 -03:00
MarcModificationTemplateAction.pm Bug 19166: DBRev 18.06.00.009 2018-07-19 17:33:55 +00:00
MarcSubfieldStructure.pm Bug 8643: DBRev 19.12.00.020 2020-02-11 14:37:34 +00: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 23152: Implement koha_object[s]_class when needed 2019-06-24 16:36:57 +01:00
MessageAttribute.pm
…
MessageQueue.pm Bug 10269: Schema Update 2020-03-18 14:03:32 +00:00
MessageTransport.pm Bug 17762 - DBRev 16.12.00.033 2017-05-09 21:01:40 +00:00
MessageTransportType.pm
…
MiscFile.pm
…
NeedMergeAuthority.pm Bug 23152: Implement koha_object[s]_class when needed 2019-06-24 16:36:57 +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 23152: Implement koha_object[s]_class when needed 2019-06-24 16:36:57 +01:00
OldIssue.pm Bug 17005: Add checked_in checkouts to REST API response 2019-10-08 14:33:39 +01:00
OldReserve.pm Bug 21294: Replace BOOLEAN with TINYINT(1) in our DB structure 2020-04-29 16:58:45 +01:00
OpacNews.pm Bug 23152: Fix more pluralisation (and add tests) 2019-10-24 17:01:45 +01:00
Overduerule.pm
…
OverduerulesTransportType.pm
…
PatronConsent.pm Bug 23152: Implement koha_object[s]_class when needed 2019-06-24 16:36:57 +01:00
PatronList.pm Bug 19524: DBRev 18.06.006 2018-07-18 16:55:56 +00:00
PatronListPatron.pm
…
Patronimage.pm Bug 23152: Implement koha_object[s]_class when needed 2019-06-24 16:36:57 +01:00
PendingOfflineOperation.pm Bug 13178: DBIC Schema changes 2017-10-27 14:10:28 -03:00
Permission.pm
…
PluginData.pm Bug 18336: DBIC Schema changes 2018-02-16 18:12:55 -03:00
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 4461: dbic schema update 2020-04-06 11:19:28 +01:00
Quote.pm Bug 24640: DBRev 19.12.00.023 2020-02-19 11:10:06 +00:00
Rating.pm
…
RepeatableHoliday.pm Bug 24289: DBRev 19.12.00.011 2020-01-20 14:03:52 +00:00
ReportsDictionary.pm Bug 18336: DBIC Schema changes 2018-02-16 18:12:55 -03:00
Reserve.pm Bug 24722: (RM follow-up) Schema Changes 2020-03-18 12:44:24 +00:00
ReturnClaim.pm Bug 14697: (RM follow-up) Add _type methods to ReturnClaim class 2019-10-31 14:38:39 +00:00
Review.pm Bug 18336: DBIC Schema changes 2018-02-16 18:12:55 -03:00
SavedReport.pm
…
SavedSql.pm Bug 21294: Replace BOOLEAN with TINYINT(1) in our DB structure 2020-04-29 16:58:45 +01:00
SearchField.pm Bug 20589: DBRev 19.06.00.032 2019-10-02 13:49:13 +01:00
SearchHistory.pm Bug 18336: DBIC Schema changes 2018-02-16 18:12:55 -03:00
SearchMarcMap.pm
…
SearchMarcToField.pm Bug 21294: Replace BOOLEAN with TINYINT(1) in our DB structure 2020-04-29 16:58:45 +01:00
Serial.pm Bug 21901: DBRev 19.12.00.076 2020-04-17 10:17:32 +01:00
Serialitem.pm Bug 23152: Implement koha_object[s]_class when needed 2019-06-24 16:36:57 +01:00
Session.pm Bug 18336: DBIC Schema changes 2018-02-16 18:12:55 -03:00
SmsProvider.pm Bug 23152: Implement koha_object[s]_class when needed 2019-06-24 16:36:57 +01:00
SocialData.pm Bug 22782: DBIC update for SocialData 2019-05-10 12:14:00 +00:00
SpecialHoliday.pm Bug 24289: DBRev 19.12.00.011 2020-01-20 14:03:52 +00:00
Statistic.pm Bug 22318: DBRev 18.12.00.058 2019-04-18 10:47:21 +00:00
Stockrotationitem.pm Bug 23152: Implement koha_object[s]_class when needed 2019-06-24 16:36:57 +01:00
Stockrotationrota.pm Bug 23152: Implement koha_object[s]_class when needed 2019-06-24 16:36:57 +01:00
Stockrotationstage.pm Bug 23152: Implement koha_object[s]_class when needed 2019-06-24 16:36:57 +01:00
Subscription.pm Bug 21294: Replace BOOLEAN with TINYINT(1) in our DB structure 2020-04-29 16:58:45 +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 23152: Implement koha_object[s]_class when needed 2019-06-24 16:36:57 +01:00
Suggestion.pm Bug 22784: (QA follow-up) booleans should be TINYINT 2020-04-15 12:21:57 +01:00
Systempreference.pm Bug 23152: Implement koha_object[s]_class when needed 2019-06-24 16:36:57 +01:00
Tag.pm
…
TagAll.pm Bug 23152: Implement koha_object[s]_class when needed 2019-06-24 16:36:57 +01:00
TagsApproval.pm Bug 23152: Implement koha_object[s]_class when needed 2019-06-24 16:36:57 +01:00
TagsIndex.pm Bug 23152: Fix more pluralisation (and add tests) 2019-10-24 17:01:45 +01:00
TmpHoldsqueue.pm Bug 22899: DBRev 18.12.00.075 2019-05-14 18:15:54 +00:00
TransportCost.pm
…
UploadedFile.pm Bug 18336: DBIC Schema changes 2018-02-16 18:12:55 -03:00
UserPermission.pm
…
Userflag.pm
…
VendorEdiAccount.pm Bug 18336: DBIC Schema changes 2018-02-16 18:12:55 -03:00
Virtualshelfcontent.pm
…
Virtualshelfshare.pm
…
Virtualshelve.pm Bug 23152: Implement koha_object[s]_class when needed 2019-06-24 16:36:57 +01:00
Z3950server.pm Bug 11297: Modify Z3950server schema file 2020-02-19 16:07:59 +00:00
Zebraqueue.pm
…