2 package Koha::Schema::Result::SearchFilter;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::SearchFilter
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<search_filters>
22 __PACKAGE__->table("search_filters");
26 =head2 search_filter_id
42 data_type: 'mediumtext'
49 data_type: 'mediumtext'
60 whether this filter is shown on OPAC
68 whether this filter is shown in staff client
72 __PACKAGE__->add_columns(
74 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
76 { data_type => "varchar", is_nullable => 0, size => 255 },
78 { data_type => "mediumtext", is_nullable => 1 },
80 { data_type => "mediumtext", is_nullable => 1 },
82 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
84 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
91 =item * L</search_filter_id>
97 __PACKAGE__->set_primary_key("search_filter_id");
100 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-10-06 12:25:18
101 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:De9VF9DBMhzsbPIbyFGXlQ
103 __PACKAGE__->add_columns(
104 '+opac' => { is_boolean => 1 },
105 '+staff_client' => { is_boolean => 1 },