View | Details | Raw Unified | Return to bug 10012
Collapse All | Expand All

(-)a/Koha/Schema/Result/Nozebra.pm (-64 lines)
Lines 1-64 Link Here
1
package Koha::Schema::Result::Nozebra;
2
3
# Created by DBIx::Class::Schema::Loader
4
# DO NOT MODIFY THE FIRST PART OF THIS FILE
5
6
use strict;
7
use warnings;
8
9
use base 'DBIx::Class::Core';
10
11
12
=head1 NAME
13
14
Koha::Schema::Result::Nozebra
15
16
=cut
17
18
__PACKAGE__->table("nozebra");
19
20
=head1 ACCESSORS
21
22
=head2 server
23
24
  data_type: 'varchar'
25
  is_nullable: 0
26
  size: 20
27
28
=head2 indexname
29
30
  data_type: 'varchar'
31
  is_nullable: 0
32
  size: 40
33
34
=head2 value
35
36
  data_type: 'varchar'
37
  is_nullable: 0
38
  size: 250
39
40
=head2 biblionumbers
41
42
  data_type: 'longtext'
43
  is_nullable: 0
44
45
=cut
46
47
__PACKAGE__->add_columns(
48
  "server",
49
  { data_type => "varchar", is_nullable => 0, size => 20 },
50
  "indexname",
51
  { data_type => "varchar", is_nullable => 0, size => 40 },
52
  "value",
53
  { data_type => "varchar", is_nullable => 0, size => 250 },
54
  "biblionumbers",
55
  { data_type => "longtext", is_nullable => 0 },
56
);
57
58
59
# Created by DBIx::Class::Schema::Loader v0.07000 @ 2012-09-02 08:44:15
60
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:HEbJLtO1Tpyvy9/w8dnS2w
61
62
63
# You can replace this text with custom content, and it will be preserved on regeneration
64
1;
(-)a/installer/data/mysql/it-IT/necessari/system_preferences.sql (-2 lines)
Lines 41-47 UPDATE systempreferences SET value = 'en,it-IT' WHERE variable = 'language'; Link Here
41
UPDATE systempreferences SET value = '0' WHERE variable = 'LetterLog';
41
UPDATE systempreferences SET value = '0' WHERE variable = 'LetterLog';
42
UPDATE systempreferences SET value = '0' WHERE variable = 'MARCOrgCode';
42
UPDATE systempreferences SET value = '0' WHERE variable = 'MARCOrgCode';
43
UPDATE systempreferences SET value = '2' WHERE variable = 'maxreserves';
43
UPDATE systempreferences SET value = '2' WHERE variable = 'maxreserves';
44
UPDATE systempreferences SET value = '0' WHERE variable = 'NoZebra';
45
UPDATE systempreferences SET value = '0' WHERE variable = 'OpacAuthorities';
44
UPDATE systempreferences SET value = '0' WHERE variable = 'OpacAuthorities';
46
UPDATE systempreferences SET value = 'relevance' WHERE variable = 'OPACdefaultSortField';
45
UPDATE systempreferences SET value = 'relevance' WHERE variable = 'OPACdefaultSortField';
47
UPDATE systempreferences SET value = 'asc' WHERE variable = 'OPACdefaultSortOrder';
46
UPDATE systempreferences SET value = 'asc' WHERE variable = 'OPACdefaultSortOrder';
Lines 67-70 UPDATE systempreferences SET value = '1' WHERE variable = 'XISBN'; Link Here
67
66
68
UPDATE systempreferences SET value = '#200|<span style=\"font-weight:bold\">|{200a}{. 200c}{ : 200e}{200d}{ / 200f}{ ; 200g}{. 200h}{. 200i}|</span>\r\n#210|. &ndash; |{210a}{ : 210c}{, 210d}|\r\n#215|. &ndash; |{215a}{ ; 215d}|\r\n#225|. &ndash; |{(225a}{ ; 225v)}|\r\n#010|. &ndash; |{ISBN 010a}|' WHERE variable = 'ISBD';
67
UPDATE systempreferences SET value = '#200|<span style=\"font-weight:bold\">|{200a}{. 200c}{ : 200e}{200d}{ / 200f}{ ; 200g}{. 200h}{. 200i}|</span>\r\n#210|. &ndash; |{210a}{ : 210c}{, 210d}|\r\n#215|. &ndash; |{215a}{ ; 215d}|\r\n#225|. &ndash; |{(225a}{ ; 225v)}|\r\n#010|. &ndash; |{ISBN 010a}|' WHERE variable = 'ISBD';
69
68
70
UPDATE systempreferences SET value = '\'title\' => \'200a,200c,200d,200e,225a,225d,225e,225f,225h,225i,225v,500*,501*,503*,510*,512*,513*,514*,515*,516*,517*,518*,519*,520*,530*,531*,532*,540*,541*,545*,604t,610t,605a\',\r\n\'author\' => \'200f,600a,601a,604a,700a,700b,700c,700d,700a,701b,701c,701d,702a,702b,702c,702d,710a,710b,710c,710d,711a,711b,711c,711d,712a,712b,712c,712d\',\r\n\'isbn\' => \'010a\',\r\n\'issn\' => \'011a\',\r\n\'biblionumber => \'0909\',\r\n\'itemtype\' => \'200b\',\r\n\'language\' => \'101a\',\r\n\'publisher\' => \'210c\',\r\n\'date\' => \'210d\',\r\n\'note\' => \r\n\'300a,301a,302a,303a,304a,305a,306az,307a,308a,309a,310a,311a,312a,313a,314a,315a,316a,317a,318a,319a,320a,321a,322a,323a,324a,325a,326a,327a,328a,330a,332a,333a,336a,337a,345a\',\r\n\'Koha-Auth-Number\' => \'6009,6019,6029,6039,6049,6059,6069,6109,7009,7019,7029,7109,7119,7129\',\r\n        \'subject\' => \'600*,601*,606*,610*\',\r\n        \'dewey\' => \'676a\',\r\n        \'homebranch\' => \'995a,995b\',\r\n        \'lcn\' => \'995k\'' WHERE variable = 'NoZebraIndexes';
(-)a/installer/data/mysql/updatedatabase.pl (-1 / +9 lines)
Lines 8005-8010 if ( CheckVersion($DBversion) ) { Link Here
8005
    $dbh->{RaiseError} = 0;
8005
    $dbh->{RaiseError} = 0;
8006
}
8006
}
8007
8007
8008
$DBversion = "3.15.00.XXX";
8009
if ( CheckVersion($DBversion) ) {
8010
    $dbh->do(q{
8011
        DELETE FROM systempreferences WHERE variable = 'NoZebraIndexes'
8012
    });
8013
    print "Upgrade to $DBversion done (Bug 10012 - remove last vestiges of NoZebra)\n";
8014
    SetVersion($DBversion);
8015
}
8016
8008
=head1 FUNCTIONS
8017
=head1 FUNCTIONS
8009
8018
8010
=head2 TableExists($table)
8019
=head2 TableExists($table)
8011
- 

Return to bug 10012