Bugzilla – Attachment 71229 Details for
Bug 18818
Manage categories displayed in Quick add patron list
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18818: define new column as boolean in DBIC Schema
Bug-18818-define-new-column-as-boolean-in-DBIC-Sch.patch (text/plain), 947 bytes, created by
Fridolin Somers
on 2018-02-05 13:08:24 UTC
(
hide
)
Description:
Bug 18818: define new column as boolean in DBIC Schema
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2018-02-05 13:08:24 UTC
Size:
947 bytes
patch
obsolete
>From 15dc843fbef4d28a1aa8b036b46ab8c62d8767f7 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Fri, 26 Jan 2018 16:02:48 +0100 >Subject: [PATCH] Bug 18818: define new column as boolean in DBIC Schema > >See https://wiki.koha-community.org/wiki/Coding_Guidelines#SQL12:_Booleans >--- > Koha/Schema/Result/Category.pm | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/Koha/Schema/Result/Category.pm b/Koha/Schema/Result/Category.pm >index fc26a7d..94cd4b2 100644 >--- a/Koha/Schema/Result/Category.pm >+++ b/Koha/Schema/Result/Category.pm >@@ -270,6 +270,9 @@ __PACKAGE__->might_have( > # Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-07-08 13:37:33 > # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:LH3DdDDYXaGsNsILAUZzng > >+__PACKAGE__->add_columns( >+ '+quick_add_display' => { is_boolean => 1 }, >+); > > # You can replace this text with custom content, and it will be preserved on regeneration > 1; >-- >2.7.4
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 18818
:
64422
|
70801
|
70802
|
70955
|
70956
|
70959
|
70960
|
70962
|
70963
|
70964
|
71227
|
71228
|
71229
|
72867
|
72868
|
72869
|
73604
|
74831
|
74832
|
74833
|
74834