Bugzilla – Attachment 84206 Details for
Bug 22125
branches.pickup_location should be flagged as boolean
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22125: branches.pickup_location should be flagged as boolean
Bug-22125-branchespickuplocation-should-be-flagged.patch (text/plain), 1.22 KB, created by
Kyle M Hall (khall)
on 2019-01-18 16:02:12 UTC
(
hide
)
Description:
Bug 22125: branches.pickup_location should be flagged as boolean
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2019-01-18 16:02:12 UTC
Size:
1.22 KB
patch
obsolete
>From 5b062e2790fd15f68ae58c5c7814fa41d6ab9120 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Mon, 14 Jan 2019 08:04:51 -0300 >Subject: [PATCH] Bug 22125: branches.pickup_location should be flagged as > boolean > >This trivial patch just marks the mentioned column as a boolean. > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> > >https://bugs.koha-community.org/show_bug.cgi?id=16497 > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > Koha/Schema/Result/Branch.pm | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > >diff --git a/Koha/Schema/Result/Branch.pm b/Koha/Schema/Result/Branch.pm >index b894c54dc7..d8816856fa 100644 >--- a/Koha/Schema/Result/Branch.pm >+++ b/Koha/Schema/Result/Branch.pm >@@ -680,8 +680,9 @@ __PACKAGE__->has_many( > # Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-01-03 16:10:04 > # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:WyXH3sMlyuJIx0fd31RswA > >- >-# You can replace this text with custom code or comments, and it will be preserved on regeneration >+__PACKAGE__->add_columns( >+ '+pickup_location' => { is_boolean => 1 } >+); > > sub koha_objects_class { > 'Koha::Libraries'; >-- >2.17.2 (Apple Git-113)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 22125
:
83883
|
83944
| 84206