Bugzilla – Attachment 127160 Details for
Bug 27360
Libraries should be able to pick which branches display on the public 'Libraries' page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27360: DBIC Build
Bug-27360-DBIC-Build.patch (text/plain), 1.67 KB, created by
Katrin Fischer
on 2021-11-01 11:27:07 UTC
(
hide
)
Description:
Bug 27360: DBIC Build
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2021-11-01 11:27:07 UTC
Size:
1.67 KB
patch
obsolete
>From 4a9145c31a159babf7cea925587c26d64c82b912 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Wed, 27 Oct 2021 14:49:01 +0100 >Subject: [PATCH] Bug 27360: DBIC Build > >Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov> >Signed-off-by: Christopher Brannon <cbrannon@cdalibrary.org> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > Koha/Schema/Result/Branch.pm | 14 ++++++++++++-- > 1 file changed, 12 insertions(+), 2 deletions(-) > >diff --git a/Koha/Schema/Result/Branch.pm b/Koha/Schema/Result/Branch.pm >index 500d100d05..3021935efc 100644 >--- a/Koha/Schema/Result/Branch.pm >+++ b/Koha/Schema/Result/Branch.pm >@@ -191,6 +191,14 @@ MARC Organization Code, see http://www.loc.gov/marc/organizations/orgshome.html, > > the ability to act as a pickup location > >+=head2 public >+ >+ data_type: 'tinyint' >+ default_value: 1 >+ is_nullable: 0 >+ >+whether this library should show in the opac >+ > =cut > > __PACKAGE__->add_columns( >@@ -240,6 +248,8 @@ __PACKAGE__->add_columns( > { data_type => "varchar", is_nullable => 1, size => 16 }, > "pickup_location", > { data_type => "tinyint", default_value => 1, is_nullable => 0 }, >+ "public", >+ { data_type => "tinyint", default_value => 1, is_nullable => 0 }, > ); > > =head1 PRIMARY KEY >@@ -887,8 +897,8 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-07-16 07:12:03 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:EZYvCbpv41QSEhHRPVFImA >+# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-10-27 13:48:49 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:SVuazNjL6+ziK2Uwcc7OwA > > __PACKAGE__->add_columns( > '+pickup_location' => { is_boolean => 1 } >-- >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 27360
:
126997
|
126998
|
126999
|
127000
|
127007
|
127008
|
127009
|
127011
|
127012
|
127013
|
127144
|
127145
|
127146
|
127147
|
127158
|
127159
| 127160 |
127161
|
127162
|
127163
|
127253
|
127629