Bugzilla – Attachment 155317 Details for
Bug 18203
Add per borrower category restrictions on placing ILL requests in OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18203: dbic specific [DONT PUSH]
Bug-18203-dbic-specific-DONT-PUSH.patch (text/plain), 1.99 KB, created by
Pedro Amorim
on 2023-09-07 15:02:37 UTC
(
hide
)
Description:
Bug 18203: dbic specific [DONT PUSH]
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2023-09-07 15:02:37 UTC
Size:
1.99 KB
patch
obsolete
>From 818af2ff23d4cf615ec483b51fac95aef1e3dbc9 Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Wed, 12 Jul 2023 09:15:36 +0000 >Subject: [PATCH] Bug 18203: dbic specific [DONT PUSH] > >Signed-off-by: Sam Lau <samalau@gmail.com> >--- > Koha/Schema/Result/Category.pm | 15 +++++++++++++-- > 1 file changed, 13 insertions(+), 2 deletions(-) > >diff --git a/Koha/Schema/Result/Category.pm b/Koha/Schema/Result/Category.pm >index d6281bf36a..8a3ef2bdf7 100644 >--- a/Koha/Schema/Result/Category.pm >+++ b/Koha/Schema/Result/Category.pm >@@ -162,6 +162,14 @@ Default privacy setting for this patron category > > produce a warning for this patron category if this item has previously been checked out to this patron if 'yes', not if 'no', defer to syspref setting if 'inherit'. > >+=head2 canplaceillopac >+ >+ data_type: 'tinyint' >+ default_value: 0 >+ is_nullable: 0 >+ >+can this patron category place interlibrary loan requests >+ > =head2 can_be_guarantee > > data_type: 'tinyint' >@@ -259,6 +267,8 @@ __PACKAGE__->add_columns( > is_nullable => 0, > size => 7, > }, >+ "canplaceillopac", >+ { data_type => "tinyint", default_value => 0, is_nullable => 0 }, > "can_be_guarantee", > { data_type => "tinyint", default_value => 0, is_nullable => 0 }, > "reset_password", >@@ -378,8 +388,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:B89OgAY/KnJbQaHpu5Xdfg >+# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-03-31 03:27:07 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:YYc52oTevOT+WXnDsG2mrQ > > sub koha_object_class { > 'Koha::Patron::Category'; >@@ -389,6 +399,7 @@ sub koha_objects_class { > } > > __PACKAGE__->add_columns( >+ '+canplaceillopac' => { is_boolean => 1 }, > '+can_be_guarantee' => { is_boolean => 1 }, > '+exclude_from_local_holds_priority' => { is_boolean => 1 }, > '+require_strong_password' => { 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 18203
:
60805
|
60806
|
145331
|
145349
|
145354
|
148707
|
148719
|
149010
|
153345
|
153346
|
153347
|
153370
|
153371
|
153372
|
155316
|
155317
|
155318
|
158126
|
158127
|
158128