Bugzilla – Attachment 83943 Details for
Bug 16497
Add routes for library retrieval, update and deletion
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.15 KB, created by
Josef Moravec
on 2019-01-15 11:09:23 UTC
(
hide
)
Description:
Bug 22125: branches.pickup_location should be flagged as boolean
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2019-01-15 11:09:23 UTC
Size:
1.15 KB
patch
obsolete
>From 573341a7ad16cfdb2ecfd469d14a8f78f464b30b 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 >--- > 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.11.0
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 16497
:
51454
|
52905
|
53818
|
53819
|
54943
|
60801
|
60802
|
61164
|
61165
|
63160
|
63161
|
66837
|
66838
|
68746
|
68747
|
68748
|
68838
|
68839
|
68840
|
68841
|
69508
|
83913
|
83914
|
83915
|
83916
|
83917
|
83943
|
83945
|
83946
|
83947
|
83948
|
83949
|
84198
|
84588
|
84589
|
84590
|
84591
|
84592
|
84593
|
84734
|
84769