Bugzilla – Attachment 146161 Details for
Bug 32721
Allow specifying UserCSS and UserJS at library level for the OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32721: DBIC Schema
Bug-32721-DBIC-Schema.patch (text/plain), 1.70 KB, created by
Lucas Gass (lukeg)
on 2023-02-03 17:33:19 UTC
(
hide
)
Description:
Bug 32721: DBIC Schema
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2023-02-03 17:33:19 UTC
Size:
1.70 KB
patch
obsolete
>From 5c5dfb3d36768bc58f949f7ba3160d7be9da8a06 Mon Sep 17 00:00:00 2001 >From: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> >Date: Fri, 27 Jan 2023 12:57:38 +0000 >Subject: [PATCH] Bug 32721: DBIC Schema > >This commit adds the DBIC Schema for the database change > >Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> >--- > Koha/Schema/Result/Branch.pm | 22 ++++++++++++++++++++-- > 1 file changed, 20 insertions(+), 2 deletions(-) > >diff --git a/Koha/Schema/Result/Branch.pm b/Koha/Schema/Result/Branch.pm >index c86ca6736f2..3304ac14f12 100644 >--- a/Koha/Schema/Result/Branch.pm >+++ b/Koha/Schema/Result/Branch.pm >@@ -192,6 +192,20 @@ the ability to act as a pickup location > > whether this library should show in the opac > >+=head2 userjs >+ >+ data_type: 'longtext' >+ is_nullable: 1 >+ >+branch specific javascript for the OPAC >+ >+=head2 usercss >+ >+ data_type: 'longtext' >+ is_nullable: 1 >+ >+branch specific css for the OPAC >+ > =cut > > __PACKAGE__->add_columns( >@@ -241,6 +255,10 @@ __PACKAGE__->add_columns( > { data_type => "tinyint", default_value => 1, is_nullable => 0 }, > "public", > { data_type => "tinyint", default_value => 1, is_nullable => 0 }, >+ "userjs", >+ { data_type => "longtext", is_nullable => 1 }, >+ "usercss", >+ { data_type => "longtext", is_nullable => 1 }, > ); > > =head1 PRIMARY KEY >@@ -918,8 +936,8 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-11-08 17:35:26 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QPqXuEigMeIBb9NKMSkrNw >+# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-01-26 15:44:39 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:V2cUJxcsWRSu4nyO3S6C4Q > > __PACKAGE__->add_columns( > '+pickup_location' => { is_boolean => 1 }, >-- >2.30.2
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 32721
:
145731
|
145732
|
145733
|
145734
|
145735
|
145754
|
145759
|
146159
|
146160
|
146161
|
146162
|
146163
|
146164
|
147373
|
149860
|
149861
|
149862
|
149863
|
149864
|
149865
|
149866
|
150713
|
150724
|
150725
|
150726
|
150727
|
150728
|
150729
|
150730
|
150731
|
150732
|
150754
|
150755
|
150756
|
150757
|
150758
|
156157
|
156158
|
156159
|
156160
|
156161
|
156162
|
156163
|
156164
|
157335