Bugzilla – Attachment 141349 Details for
Bug 17170
Add the ability to create 'saved searches' for use as filters when searching the catalog
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17170: DO NOT PUSH - Schema Updates
Bug-17170-DO-NOT-PUSH---Schema-Updates.patch (text/plain), 2.47 KB, created by
Nick Clemens (kidclamp)
on 2022-10-05 11:25:30 UTC
(
hide
)
Description:
Bug 17170: DO NOT PUSH - Schema Updates
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2022-10-05 11:25:30 UTC
Size:
2.47 KB
patch
obsolete
>From a3763dfd1e2b4da87dcc4ecc8da669032b601578 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Tue, 9 Nov 2021 18:45:16 +0000 >Subject: [PATCH] Bug 17170: DO NOT PUSH - Schema Updates > >Sponsored-by: Sponsored by: Round Rock Public Library [https://www.roundrocktexas.gov/departments/library/] > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > Koha/Schema/Result/SearchFilter.pm | 99 ++++++++++++++++++++++++++++++ > 1 file changed, 99 insertions(+) > create mode 100644 Koha/Schema/Result/SearchFilter.pm > >diff --git a/Koha/Schema/Result/SearchFilter.pm b/Koha/Schema/Result/SearchFilter.pm >new file mode 100644 >index 0000000000..222d7da6fd >--- /dev/null >+++ b/Koha/Schema/Result/SearchFilter.pm >@@ -0,0 +1,99 @@ >+use utf8; >+package Koha::Schema::Result::SearchFilter; >+ >+# Created by DBIx::Class::Schema::Loader >+# DO NOT MODIFY THE FIRST PART OF THIS FILE >+ >+=head1 NAME >+ >+Koha::Schema::Result::SearchFilter >+ >+=cut >+ >+use strict; >+use warnings; >+ >+use base 'DBIx::Class::Core'; >+ >+=head1 TABLE: C<search_filters> >+ >+=cut >+ >+__PACKAGE__->table("search_filters"); >+ >+=head1 ACCESSORS >+ >+=head2 id >+ >+ data_type: 'integer' >+ is_auto_increment: 1 >+ is_nullable: 0 >+ >+=head2 name >+ >+ data_type: 'varchar' >+ is_nullable: 0 >+ size: 255 >+ >+=head2 query >+ >+ data_type: 'mediumtext' >+ is_nullable: 1 >+ >+=head2 limits >+ >+ data_type: 'mediumtext' >+ is_nullable: 1 >+ >+=head2 opac >+ >+ data_type: 'tinyint' >+ default_value: 0 >+ is_nullable: 0 >+ >+whether this filter is shown on OPAC >+ >+=head2 staff_client >+ >+ data_type: 'tinyint' >+ default_value: 0 >+ is_nullable: 0 >+ >+whether this filter is shown in staff client >+ >+=cut >+ >+__PACKAGE__->add_columns( >+ "id", >+ { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, >+ "name", >+ { data_type => "varchar", is_nullable => 0, size => 255 }, >+ "query", >+ { data_type => "mediumtext", is_nullable => 1 }, >+ "limits", >+ { data_type => "mediumtext", is_nullable => 1 }, >+ "opac", >+ { data_type => "tinyint", default_value => 0, is_nullable => 0 }, >+ "staff_client", >+ { data_type => "tinyint", default_value => 0, is_nullable => 0 }, >+); >+ >+=head1 PRIMARY KEY >+ >+=over 4 >+ >+=item * L</id> >+ >+=back >+ >+=cut >+ >+__PACKAGE__->set_primary_key("id"); >+ >+ >+# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-04-07 10:58:32 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QrBHiG/67sgZ5TLSvy731g >+ >+ >+# You can replace this text with custom code or comments, and it will be preserved on regeneration >+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 17170
:
133263
|
133264
|
133265
|
133266
|
133267
|
133268
|
133269
|
133270
|
133361
|
133376
|
137027
|
137028
|
137029
|
137030
|
137031
|
137032
|
137033
|
137034
|
137035
|
137036
|
137186
|
137187
|
137188
|
137189
|
137190
|
137191
|
137192
|
137193
|
137194
|
137195
|
137808
|
137809
|
137810
|
137811
|
137812
|
137813
|
137814
|
137815
|
137816
|
137817
|
138505
|
138506
|
138507
|
138508
|
138509
|
138510
|
138511
|
138512
|
138513
|
138514
|
139948
|
139949
|
139950
|
139951
|
139952
|
139953
|
139954
|
139955
|
139956
|
139957
|
141228
|
141229
|
141230
|
141231
|
141232
|
141233
|
141234
|
141235
|
141236
|
141237
|
141316
|
141317
|
141318
|
141319
|
141320
|
141321
|
141322
|
141323
|
141324
|
141325
|
141326
|
141327
|
141328
|
141348
|
141349
|
141350
|
141351
|
141352
|
141353
|
141354
|
141355
|
141356
|
141357
|
141358
|
141359
|
141360
|
141422
|
141423
|
141424
|
141425
|
141426
|
141427
|
141428
|
141429
|
141430
|
141431
|
141432
|
141433
|
141434
|
141435
|
141436
|
141437
|
141438
|
141461
|
141462
|
142365
|
142367
|
142368
|
142369
|
142370
|
142371
|
142372
|
142373
|
142374
|
142375
|
142376
|
142377
|
142378
|
142379
|
142380
|
142381
|
142382
|
142383
|
142384
|
142385
|
142494
|
142498