Merge branch 'master' into template_toolkit
This commit is contained in:
commit
c190d93a12
|
|
@ -276,7 +276,6 @@ sub returnlost{
|
|||
|
||||
|
||||
sub chargelostitem{
|
||||
# http://wiki.koha.org/doku.php?id=en:development:kohastatuses
|
||||
# lost ==1 Lost, lost==2 longoverdue, lost==3 lost and paid for
|
||||
# FIXME: itemlost should be set to 3 after payment is made, should be a warning to the interface that
|
||||
# a charge has been added
|
||||
|
|
|
|||
23
C4/Auth.pm
23
C4/Auth.pm
|
|
@ -356,7 +356,6 @@ sub get_template_and_user {
|
|||
IntranetmainUserblock => C4::Context->preference("IntranetmainUserblock"),
|
||||
LibraryName => C4::Context->preference("LibraryName"),
|
||||
LoginBranchname => (C4::Context->userenv?C4::Context->userenv->{"branchname"}:"insecure"),
|
||||
TemplateEncoding => C4::Context->preference("TemplateEncoding"),
|
||||
advancedMARCEditor => C4::Context->preference("advancedMARCEditor"),
|
||||
canreservefromotherbranches => C4::Context->preference('canreservefromotherbranches'),
|
||||
intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"),
|
||||
|
|
@ -387,6 +386,15 @@ sub get_template_and_user {
|
|||
} elsif($mylibraryfirst){
|
||||
$opac_name = C4::Branch::GetBranchName($mylibraryfirst);
|
||||
}
|
||||
my $checkstyle = C4::Context->preference("opaccolorstylesheet");
|
||||
if ($checkstyle =~ /http/)
|
||||
{
|
||||
$template->param( opacexternalsheet => $checkstyle);
|
||||
} else
|
||||
{
|
||||
my $opaccolorstylesheet = C4::Context->preference("opaccolorstylesheet");
|
||||
$template->param( opaccolorstylesheet => $opaccolorstylesheet);
|
||||
}
|
||||
$template->param(
|
||||
AmazonContent => "" . C4::Context->preference("AmazonContent"),
|
||||
AnonSuggestions => "" . C4::Context->preference("AnonSuggestions"),
|
||||
|
|
@ -421,12 +429,10 @@ sub get_template_and_user {
|
|||
OPACFinesTab => C4::Context->preference("OPACFinesTab"),
|
||||
OpacTopissue => C4::Context->preference("OpacTopissue"),
|
||||
RequestOnOpac => C4::Context->preference("RequestOnOpac"),
|
||||
TemplateEncoding => "". C4::Context->preference("TemplateEncoding"),
|
||||
'Version' => C4::Context->preference('Version'),
|
||||
hidelostitems => C4::Context->preference("hidelostitems"),
|
||||
mylibraryfirst => (C4::Context->preference("SearchMyLibraryFirst") && C4::Context->userenv) ? C4::Context->userenv->{'branch'} : '',
|
||||
opaclayoutstylesheet => "" . C4::Context->preference("opaclayoutstylesheet"),
|
||||
opaccolorstylesheet => "" . C4::Context->preference("opaccolorstylesheet"),
|
||||
opacstylesheet => "" . C4::Context->preference("opacstylesheet"),
|
||||
opacbookbag => "" . C4::Context->preference("opacbookbag"),
|
||||
opaccredits => "" . C4::Context->preference("opaccredits"),
|
||||
|
|
@ -910,6 +916,15 @@ sub checkauth {
|
|||
my $template_name = ( $type eq 'opac' ) ? 'opac-auth.tmpl' : 'auth.tmpl';
|
||||
my $template = gettemplate( $template_name, $type, $query );
|
||||
$template->param(branchloop => \@branch_loop,);
|
||||
my $checkstyle = C4::Context->preference("opaccolorstylesheet");
|
||||
if ($checkstyle =~ /\//)
|
||||
{
|
||||
$template->param( opacexternalsheet => $checkstyle);
|
||||
} else
|
||||
{
|
||||
my $opaccolorstylesheet = C4::Context->preference("opaccolorstylesheet");
|
||||
$template->param( opaccolorstylesheet => $opaccolorstylesheet);
|
||||
}
|
||||
$template->param(
|
||||
login => 1,
|
||||
INPUTS => \@inputs,
|
||||
|
|
@ -923,7 +938,6 @@ sub checkauth {
|
|||
opacreadinghistory => C4::Context->preference("opacreadinghistory"),
|
||||
opacsmallimage => C4::Context->preference("opacsmallimage"),
|
||||
opaclayoutstylesheet => C4::Context->preference("opaclayoutstylesheet"),
|
||||
opaccolorstylesheet => C4::Context->preference("opaccolorstylesheet"),
|
||||
opaclanguagesdisplay => C4::Context->preference("opaclanguagesdisplay"),
|
||||
opacuserjs => C4::Context->preference("opacuserjs"),
|
||||
opacbookbag => "" . C4::Context->preference("opacbookbag"),
|
||||
|
|
@ -940,7 +954,6 @@ sub checkauth {
|
|||
intranetbookbag => C4::Context->preference("intranetbookbag"),
|
||||
IntranetNav => C4::Context->preference("IntranetNav"),
|
||||
intranetuserjs => C4::Context->preference("intranetuserjs"),
|
||||
TemplateEncoding => C4::Context->preference("TemplateEncoding"),
|
||||
IndependantBranches=> C4::Context->preference("IndependantBranches"),
|
||||
AutoLocation => C4::Context->preference("AutoLocation"),
|
||||
wrongip => $info{'wrongip'}
|
||||
|
|
|
|||
|
|
@ -901,7 +901,7 @@ sub FindDuplicateAuthority {
|
|||
$_->[1]=~s/$filtervalues/ /g; $query.= " and he,wrdl=\"".$_->[1]."\"" if ($_->[0]=~/[A-z]/);
|
||||
}
|
||||
}
|
||||
my ($error, $results, $total_hits)=SimpleSearch( $query, 0, 1, [ "authorityserver" ] );
|
||||
my ($error, $results, $total_hits) = C4::Search::SimpleSearch( $query, 0, 1, [ "authorityserver" ] );
|
||||
# there is at least 1 result => return the 1st one
|
||||
if (@$results>0) {
|
||||
my $marcrecord = MARC::File::USMARC::decode($results->[0]);
|
||||
|
|
@ -1327,9 +1327,17 @@ sub merge {
|
|||
my $tag=$field->tag();
|
||||
if ($auth_number==$mergefrom) {
|
||||
my $field_to=MARC::Field->new(($tag_to?$tag_to:$tag),$field->indicator(1),$field->indicator(2),"9"=>$mergeto);
|
||||
my $exclude='9';
|
||||
foreach my $subfield (@record_to) {
|
||||
$field_to->add_subfields($subfield->[0] =>$subfield->[1]);
|
||||
$exclude.= $subfield->[0];
|
||||
}
|
||||
$exclude='['.$exclude.']';
|
||||
# add subfields in $field not included in @record_to
|
||||
my @restore= grep {$_->[0]!~/$exclude/} $field->subfields();
|
||||
foreach my $subfield (@restore) {
|
||||
$field_to->add_subfields($subfield->[0] =>$subfield->[1]);
|
||||
}
|
||||
$marcrecord->delete_field($field);
|
||||
$marcrecord->insert_grouped_field($field_to);
|
||||
$update=1;
|
||||
|
|
|
|||
|
|
@ -50,7 +50,6 @@ use Carp;
|
|||
use base qw(Class::Accessor);
|
||||
|
||||
use C4::Cache::Memcached;
|
||||
use C4::Cache::FastMemcached;
|
||||
|
||||
__PACKAGE__->mk_ro_accessors( qw( cache ) );
|
||||
|
||||
|
|
|
|||
|
|
@ -1,95 +0,0 @@
|
|||
package Koha::Cache::FastMemcached;
|
||||
|
||||
# Copyright 2009 Chris Cormack and The Koha Dev Team
|
||||
#
|
||||
# This file is part of Koha.
|
||||
#
|
||||
# Koha is free software; you can redistribute it and/or modify it under the
|
||||
# terms of the GNU General Public License as published by the Free Software
|
||||
# Foundation; either version 2 of the License, or (at your option) any later
|
||||
# version.
|
||||
#
|
||||
# Koha is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
||||
# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along
|
||||
# with Koha; if not, write to the Free Software Foundation, Inc.,
|
||||
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
use Carp;
|
||||
|
||||
use Cache::Memcached::Fast;
|
||||
use IO::Compress::Gzip;
|
||||
use IO::Uncompress::Gunzip;
|
||||
use Storable;
|
||||
|
||||
use base qw(C4::Cache);
|
||||
|
||||
sub _cache_handle {
|
||||
my $class = shift;
|
||||
my $params = shift;
|
||||
|
||||
my @servers = split /,/, $params->{'cache_servers'};
|
||||
|
||||
return Cache::Memcached::Fast->new(
|
||||
{
|
||||
servers => \@servers,
|
||||
namespace => $params->{'namespace'} || 'KOHA',
|
||||
connect_timeout => $params->{'connect_timeout'} || 2,
|
||||
io_timeout => $params->{'io_timeout'} || 2,
|
||||
close_on_error => 1,
|
||||
compress_threshold => 100_000,
|
||||
compress_ratio => 0.9,
|
||||
compress_methods =>
|
||||
[ \&IO::Compress::Gzip::gzip, \&IO::Uncompress::Gunzip::gunzip ],
|
||||
max_failures => 3,
|
||||
failure_timeout => 2,
|
||||
ketama_points => 150,
|
||||
nowait => 1,
|
||||
hash_namespace => 1,
|
||||
serialize_methods => [ \&Storable::freeze, \&Storable::thaw ],
|
||||
utf8 => 1,
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
sub set_in_cache {
|
||||
my ( $self, $key, $value, $expiry ) = @_;
|
||||
croak "No key" unless $key;
|
||||
|
||||
if ( defined $expiry ) {
|
||||
return $self->cache->set( $key, $value, $expiry );
|
||||
}
|
||||
else {
|
||||
return $self->cache->set( $key, $value );
|
||||
}
|
||||
}
|
||||
|
||||
sub get_from_cache {
|
||||
my ( $self, $key ) = @_;
|
||||
croak "No key" unless $key;
|
||||
return $self->cache->get($key);
|
||||
}
|
||||
|
||||
sub clear_from_cache {
|
||||
my ( $self, $key ) = @_;
|
||||
croak "No key" unless $key;
|
||||
return $self->cache->delete($key);
|
||||
}
|
||||
|
||||
sub flush_all {
|
||||
my $self = shift;
|
||||
return $self->cache->flush_all;
|
||||
}
|
||||
|
||||
1;
|
||||
__END__
|
||||
|
||||
=head1 NAME
|
||||
|
||||
C4::Cache::FastMemcached - memcached::fast subclass of C4::Cache
|
||||
|
||||
=cut
|
||||
|
|
@ -37,7 +37,7 @@ BEGIN {
|
|||
&insert_day_month_holiday
|
||||
&insert_single_holiday
|
||||
&insert_exception_holiday
|
||||
&ModWeekdayholiday
|
||||
&ModWeekdayholiday
|
||||
&ModDaymonthholiday
|
||||
&ModSingleholiday
|
||||
&ModExceptionholiday
|
||||
|
|
|
|||
|
|
@ -69,7 +69,6 @@ BEGIN {
|
|||
&AddRenewal
|
||||
&GetRenewCount
|
||||
&GetItemIssue
|
||||
&GetOpenIssue
|
||||
&GetItemIssues
|
||||
&GetBorrowerIssues
|
||||
&GetIssuingCharges
|
||||
|
|
@ -77,6 +76,7 @@ BEGIN {
|
|||
&GetBranchBorrowerCircRule
|
||||
&GetBranchItemRule
|
||||
&GetBiblioIssues
|
||||
&GetOpenIssue
|
||||
&AnonymiseIssueHistory
|
||||
);
|
||||
|
||||
|
|
@ -904,7 +904,6 @@ sub AddIssue {
|
|||
my ( $borrower, $barcode, $datedue, $cancelreserve, $issuedate, $sipmode) = @_;
|
||||
my $dbh = C4::Context->dbh;
|
||||
my $barcodecheck=CheckValidBarcode($barcode);
|
||||
|
||||
# $issuedate defaults to today.
|
||||
if ( ! defined $issuedate ) {
|
||||
$issuedate = strftime( "%Y-%m-%d", localtime );
|
||||
|
|
@ -1440,7 +1439,8 @@ sub AddReturn {
|
|||
my $item = GetItem($itemnumber) or die "GetItem($itemnumber) failed";
|
||||
# full item data, but no borrowernumber or checkout info (no issue)
|
||||
# we know GetItem should work because GetItemnumberFromBarcode worked
|
||||
my $hbr = $item->{C4::Context->preference("HomeOrHoldingBranch")} || '';
|
||||
my $hbr = C4::Context->preference("HomeOrHoldingBranchReturn") || "homebranch";
|
||||
$hbr = $item->{$hbr} || '';
|
||||
# item must be from items table -- issues table has branchcode and issuingbranch, not homebranch nor holdingbranch
|
||||
|
||||
my $borrowernumber = $borrower->{'borrowernumber'} || undef; # we don't know if we had a borrower or not
|
||||
|
|
|
|||
|
|
@ -149,6 +149,7 @@ sub retrieve {
|
|||
};
|
||||
while (my $record = $sth->fetchrow_hashref) {
|
||||
$self->{'branch_code'} = $record->{'branch_code'};
|
||||
$self->{'creator'} = $record->{'creator'};
|
||||
push (@{$self->{'items'}}, {$number_type => $record->{$number_type}, label_id => $record->{'label_id'}});
|
||||
$record_flag = 1; # true if one or more rows were retrieved
|
||||
}
|
||||
|
|
|
|||
|
|
@ -40,6 +40,8 @@ sub _check_params {
|
|||
'format_string',
|
||||
'layout_xml', # FIXME: all layouts should be stored in xml format to greatly simplify handling -chris_n
|
||||
'creator',
|
||||
'units',
|
||||
'start_label',
|
||||
);
|
||||
if (scalar(@_) >1) {
|
||||
my %given_params = @_;
|
||||
|
|
@ -68,6 +70,9 @@ sub new {
|
|||
my $type = ref($invocant) || $invocant;
|
||||
if (grep {$_ eq 'Labels'} @_) {
|
||||
$self = {
|
||||
layout_xml => '',
|
||||
units => 'POINT',
|
||||
start_label => 1,
|
||||
barcode_type => 'CODE39',
|
||||
printing_type => 'BAR',
|
||||
layout_name => 'DEFAULT',
|
||||
|
|
@ -95,8 +100,6 @@ sub retrieve {
|
|||
my %opts = @_;
|
||||
my $type = ref($invocant) || $invocant;
|
||||
my $query = "SELECT * FROM creator_layouts WHERE layout_id = ? AND creator = ?";
|
||||
#warn "QUERY: $query\n"; #XXX Remove
|
||||
#warn "PARAMS: layout_id=" . $opts{'layout_id'} . " creator=" . $opts{'creator'} . "\n"; #XXX Remove
|
||||
my $sth = C4::Context->dbh->prepare($query);
|
||||
$sth->execute($opts{'layout_id'}, $opts{'creator'});
|
||||
if ($sth->err) {
|
||||
|
|
@ -221,7 +224,7 @@ sub get_text_wrap_cols {
|
|||
my $string = '';
|
||||
my $strwidth = 0;
|
||||
my $col_count = 0;
|
||||
my $textlimit = $params{'label_width'} - ( 3 * $params{'left_text_margin'});
|
||||
my $textlimit = $params{'label_width'} - (( 3 * $params{'left_text_margin'} ) || 13.5 );
|
||||
|
||||
while ($strwidth < $textlimit) {
|
||||
$string .= '0';
|
||||
|
|
|
|||
|
|
@ -122,6 +122,7 @@ sub delete {
|
|||
warn sprintf('Database returned the following error on attempted DELETE: %s', $sth->errstr);
|
||||
return -1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
sub save {
|
||||
|
|
|
|||
|
|
@ -154,7 +154,7 @@ sub delete {
|
|||
warn sprintf('%s : Cannot delete template as the creator type is invalid or non-existant.', $call_type) if !$query_params[1];
|
||||
return -1;
|
||||
}
|
||||
my $query = "DELETE FROM " . $opts{'table_name'} . " WHERE template_id = ? AND creator = ?";
|
||||
my $query = "DELETE FROM creator_templates WHERE template_id = ? AND creator = ?";
|
||||
my $sth = C4::Context->dbh->prepare($query);
|
||||
$sth->execute(@query_params);
|
||||
$self->{'template_stat'} = 0;
|
||||
|
|
|
|||
|
|
@ -121,8 +121,7 @@ sub set_form_values {
|
|||
# walk through the options and update them with these borrower_preferences
|
||||
my $messaging_options = C4::Members::Messaging::GetMessagingOptions();
|
||||
PREF: foreach my $option ( @$messaging_options ) {
|
||||
my $pref = C4::Members::Messaging::GetMessagingPreferences( { %{ $target_params },
|
||||
message_name => $option->{'message_name'} } );
|
||||
my $pref = C4::Members::Messaging::GetMessagingPreferences( { %{ $target_params }, message_name => $option->{'message_name'} } );
|
||||
# make a hashref of the days, selecting one.
|
||||
if ( $option->{'takes_days'} ) {
|
||||
my $days_in_advance = $pref->{'days_in_advance'} ? $pref->{'days_in_advance'} : 0;
|
||||
|
|
|
|||
|
|
@ -213,7 +213,8 @@ sub GetRecords {
|
|||
$biblioitem->{'issues'}->{'issue'} = $issues;
|
||||
|
||||
map { $biblioitem->{$_} = encode_entities( $biblioitem->{$_}, '&' ) } grep( !/marcxml/, keys %$biblioitem );
|
||||
|
||||
|
||||
push @records, $biblioitem;
|
||||
}
|
||||
|
||||
return { record => \@records };
|
||||
|
|
@ -249,7 +250,7 @@ sub GetAuthorityRecords {
|
|||
foreach my $authid ( split( / /, $cgi->param('id') ) ) {
|
||||
|
||||
# Get the record as XML string, or error code
|
||||
my $record = GetAuthorityXML( $_ ) || "<record><code>RecordNotFound</code></record>";
|
||||
my $record = GetAuthorityXML($authid) || "<record><code>RecordNotFound</code></record>";
|
||||
$record =~ s/<\?xml(.*)\?>//go;
|
||||
$records .= $record;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -464,6 +464,11 @@ our $PERL_DEPS = {
|
|||
'required' => '0',
|
||||
'min_ver' => '0.97',
|
||||
},
|
||||
'Business::ISBN' => {
|
||||
'usage' => 'Core',
|
||||
'required' => '0',
|
||||
'min_ver' => '2.05',
|
||||
},
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
|
|||
|
|
@ -2005,7 +2005,7 @@ sub DelItemCheck {
|
|||
$error = "book_on_loan"
|
||||
}else{
|
||||
# check it doesnt have a waiting reserve
|
||||
$sth=$dbh->prepare("SELECT * FROM reserves WHERE found = 'W' AND itemnumber = ?");
|
||||
$sth=$dbh->prepare("SELECT * FROM reserves WHERE (found = 'W' or found = 'T') AND itemnumber = ?");
|
||||
$sth->execute($itemnumber);
|
||||
my $reserve=$sth->fetchrow;
|
||||
if ($reserve){
|
||||
|
|
|
|||
50
C4/Koha.pm
50
C4/Koha.pm
|
|
@ -1,6 +1,7 @@
|
|||
package C4::Koha;
|
||||
|
||||
# Copyright 2000-2002 Katipo Communications
|
||||
# Parts Copyright 2010 Nelsonville Public Library
|
||||
#
|
||||
# This file is part of Koha.
|
||||
#
|
||||
|
|
@ -24,6 +25,7 @@ use C4::Context;
|
|||
use C4::Output;
|
||||
use URI::Split qw(uri_split);
|
||||
use Memoize;
|
||||
use Business::ISBN;
|
||||
|
||||
use vars qw($VERSION @ISA @EXPORT $DEBUG);
|
||||
|
||||
|
|
@ -60,6 +62,7 @@ BEGIN {
|
|||
&GetNormalizedISBN
|
||||
&GetNormalizedEAN
|
||||
&GetNormalizedOCLCNumber
|
||||
&xml_escape
|
||||
|
||||
$DEBUG
|
||||
);
|
||||
|
|
@ -597,6 +600,7 @@ sub _getImagesFromDirectory {
|
|||
if ( opendir ( my $dh, $directoryname ) ) {
|
||||
my @images = grep { /\.(gif|png)$/i } readdir( $dh );
|
||||
closedir $dh;
|
||||
@images = sort(@images);
|
||||
return @images;
|
||||
} else {
|
||||
warn "unable to opendir $directoryname: $!";
|
||||
|
|
@ -670,6 +674,7 @@ sub getImageSets {
|
|||
foreach my $imagesubdir ( @subdirectories ) {
|
||||
my @imagelist = (); # hashrefs of image info
|
||||
my @imagenames = _getImagesFromDirectory( File::Spec->catfile( $paths->{'staff'}{'filesystem'}, $imagesubdir ) );
|
||||
my $imagesetactive = 0;
|
||||
foreach my $thisimage ( @imagenames ) {
|
||||
push( @imagelist,
|
||||
{ KohaImage => "$imagesubdir/$thisimage",
|
||||
|
|
@ -678,8 +683,10 @@ sub getImageSets {
|
|||
checked => "$imagesubdir/$thisimage" eq $checked ? 1 : 0,
|
||||
}
|
||||
);
|
||||
$imagesetactive = 1 if "$imagesubdir/$thisimage" eq $checked;
|
||||
}
|
||||
push @imagesets, { imagesetname => $imagesubdir,
|
||||
imagesetactive => $imagesetactive,
|
||||
images => \@imagelist };
|
||||
|
||||
}
|
||||
|
|
@ -1188,6 +1195,25 @@ sub GetKohaAuthorisedValuesFromField {
|
|||
}
|
||||
}
|
||||
|
||||
=head2 xml_escape
|
||||
|
||||
my $escaped_string = C4::Koha::xml_escape($string);
|
||||
|
||||
Convert &, <, >, ', and " in a string to XML entities
|
||||
|
||||
=cut
|
||||
|
||||
sub xml_escape {
|
||||
my $str = shift;
|
||||
return '' unless defined $str;
|
||||
$str =~ s/&/&/g;
|
||||
$str =~ s/</</g;
|
||||
$str =~ s/>/>/g;
|
||||
$str =~ s/'/'/g;
|
||||
$str =~ s/"/"/g;
|
||||
return $str;
|
||||
}
|
||||
|
||||
=head2 display_marc_indicators
|
||||
|
||||
my $display_form = C4::Koha::display_marc_indicators($field);
|
||||
|
|
@ -1235,10 +1261,14 @@ sub GetNormalizedUPC {
|
|||
}
|
||||
|
||||
# Normalizes and returns the first valid ISBN found in the record
|
||||
# ISBN13 are converted into ISBN10. This is required to get Amazon cover book.
|
||||
sub GetNormalizedISBN {
|
||||
my ($isbn,$record,$marcflavour) = @_;
|
||||
my @fields;
|
||||
if ($isbn) {
|
||||
# Koha attempts to store multiple ISBNs in biblioitems.isbn, separated by " | "
|
||||
# anything after " | " should be removed, along with the delimiter
|
||||
$isbn =~ s/(.*)( \| )(.*)/$1/;
|
||||
return _isbn_cleanup($isbn);
|
||||
}
|
||||
return undef unless $record;
|
||||
|
|
@ -1321,19 +1351,13 @@ sub _normalize_match_point {
|
|||
}
|
||||
|
||||
sub _isbn_cleanup ($) {
|
||||
my $normalized_isbn = shift;
|
||||
$normalized_isbn =~ s/-//g;
|
||||
$normalized_isbn =~/([0-9x]{1,})/i;
|
||||
$normalized_isbn = $1;
|
||||
if (
|
||||
$normalized_isbn =~ /\b(\d{13})\b/ or
|
||||
$normalized_isbn =~ /\b(\d{12})\b/i or
|
||||
$normalized_isbn =~ /\b(\d{10})\b/ or
|
||||
$normalized_isbn =~ /\b(\d{9}X)\b/i
|
||||
) {
|
||||
return $1;
|
||||
}
|
||||
return undef;
|
||||
my $isbn = Business::ISBN->new( shift );
|
||||
return undef unless $isbn;
|
||||
$isbn = $isbn->as_isbn10 if $isbn->type eq 'ISBN13';
|
||||
return undef unless $isbn;
|
||||
$isbn = $isbn->as_string;
|
||||
$isbn =~ s/-//g;
|
||||
return $isbn;
|
||||
}
|
||||
|
||||
1;
|
||||
|
|
|
|||
|
|
@ -417,7 +417,7 @@ sub draw_label_text {
|
|||
@label_lines = _split_ccn($field_data) if !@label_lines;
|
||||
push (@label_lines, $field_data) if !@label_lines;
|
||||
} else {
|
||||
warn sprintf('Call number splitting failed for: %s. Please add this call number to bug #2500 at bugs.koha.org', $field_data);
|
||||
warn sprintf('Call number splitting failed for: %s. Please add this call number to bug #2500 at bugs.koha-community.org', $field_data);
|
||||
push @label_lines, $field_data;
|
||||
}
|
||||
}
|
||||
|
|
@ -470,6 +470,10 @@ sub draw_label_text {
|
|||
return \@label_text;
|
||||
}
|
||||
|
||||
sub draw_guide_box {
|
||||
return $_[0]->{'guidebox'};
|
||||
}
|
||||
|
||||
sub barcode {
|
||||
my $self = shift;
|
||||
my %params = @_;
|
||||
|
|
|
|||
|
|
@ -275,7 +275,7 @@ sub SendAlerts {
|
|||
|
||||
# and parse borrower ...
|
||||
my $innerletter = $letter;
|
||||
my $borinfo = GetMember( 'borrowernumber' => $_->{'borrowernumber'});
|
||||
my $borinfo = C4::Members::GetMember('borrowernumber' => $_->{'borrowernumber'});
|
||||
parseletter( $innerletter, 'borrowers', $_->{'borrowernumber'} );
|
||||
|
||||
# ... then send mail
|
||||
|
|
@ -818,7 +818,7 @@ sub _send_message_by_email ($;$$$) {
|
|||
my %sendmail_params = (
|
||||
To => $to_address,
|
||||
From => $message->{'from_address'} || C4::Context->preference('KohaAdminEmailAddress'),
|
||||
Subject => $message->{'subject'},
|
||||
Subject => encode('utf8', $message->{'subject'}),
|
||||
charset => 'utf8',
|
||||
Message => $content,
|
||||
'content-type' => $message->{'content_type'} || 'text/plain; charset="UTF-8"',
|
||||
|
|
|
|||
|
|
@ -484,7 +484,7 @@ sub patronflags {
|
|||
$flags{'NOTES'} = \%flaginfo;
|
||||
}
|
||||
my ( $odues, $itemsoverdue ) = checkoverdues($patroninformation->{'borrowernumber'});
|
||||
if ( $odues > 0 ) {
|
||||
if ( $odues && $odues > 0 ) {
|
||||
my %flaginfo;
|
||||
$flaginfo{'message'} = "Yes";
|
||||
$flaginfo{'itemlist'} = $itemsoverdue;
|
||||
|
|
@ -937,22 +937,16 @@ with the modified information
|
|||
|
||||
#'
|
||||
sub UpdateGuarantees {
|
||||
my (%data) = @_;
|
||||
my %data = shift;
|
||||
my $dbh = C4::Context->dbh;
|
||||
my ( $count, $guarantees ) = GetGuarantees( $data{'borrowernumber'} );
|
||||
for ( my $i = 0 ; $i < $count ; $i++ ) {
|
||||
|
||||
# FIXME
|
||||
# It looks like the $i is only being returned to handle walking through
|
||||
# the array, which is probably better done as a foreach loop.
|
||||
#
|
||||
foreach my $guarantee (@$guarantees){
|
||||
my $guaquery = qq|UPDATE borrowers
|
||||
SET address='$data{'address'}',fax='$data{'fax'}',
|
||||
B_city='$data{'B_city'}',mobile='$data{'mobile'}',city='$data{'city'}',phone='$data{'phone'}'
|
||||
WHERE borrowernumber='$guarantees->[$i]->{'borrowernumber'}'
|
||||
SET address=?,fax=?,B_city=?,mobile=?,city=?,phone=?
|
||||
WHERE borrowernumber=?
|
||||
|;
|
||||
my $sth3 = $dbh->prepare($guaquery);
|
||||
$sth3->execute;
|
||||
my $sth = $dbh->prepare($guaquery);
|
||||
$sth->execute($data{'address'},$data{'fax'},$data{'B_city'},$data{'mobile'},$data{'city'},$data{'phone'},$guarantee->{'borrowernumber'});
|
||||
}
|
||||
}
|
||||
=head2 GetPendingIssues
|
||||
|
|
|
|||
|
|
@ -61,21 +61,23 @@ sub GetMessagingPreferences {
|
|||
|
||||
return unless exists $params->{message_name};
|
||||
return unless exists $params->{borrowernumber} xor exists $params->{categorycode}; # yes, xor
|
||||
|
||||
my $sql = <<'END_SQL';
|
||||
SELECT borrower_message_preferences.*,
|
||||
borrower_message_transport_preferences.message_transport_type,
|
||||
message_attributes.*,
|
||||
message_transports.*
|
||||
FROM borrower_message_preferences
|
||||
LEFT JOIN borrower_message_transport_preferences
|
||||
ON borrower_message_transport_preferences.borrower_message_preference_id = borrower_message_preferences.borrower_message_preference_id
|
||||
LEFT JOIN message_attributes
|
||||
ON message_attributes.message_attribute_id = borrower_message_preferences.message_attribute_id
|
||||
LEFT JOIN message_transports
|
||||
ON message_transports.message_attribute_id = message_attributes.message_attribute_id
|
||||
AND message_transports.message_transport_type = borrower_message_transport_preferences.message_transport_type
|
||||
WHERE message_attributes.message_name = ?
|
||||
message_attributes.message_name,
|
||||
message_attributes.takes_days,
|
||||
message_transports.is_digest,
|
||||
message_transports.letter_module,
|
||||
message_transports.letter_code
|
||||
FROM borrower_message_preferences
|
||||
LEFT JOIN borrower_message_transport_preferences
|
||||
ON borrower_message_transport_preferences.borrower_message_preference_id = borrower_message_preferences.borrower_message_preference_id
|
||||
LEFT JOIN message_attributes
|
||||
ON message_attributes.message_attribute_id = borrower_message_preferences.message_attribute_id
|
||||
LEFT JOIN message_transports
|
||||
ON message_transports.message_attribute_id = message_attributes.message_attribute_id
|
||||
AND message_transports.message_transport_type = borrower_message_transport_preferences.message_transport_type
|
||||
WHERE message_attributes.message_name = ?
|
||||
END_SQL
|
||||
|
||||
my @bind_params = ( $params->{'message_name'} );
|
||||
|
|
@ -93,10 +95,9 @@ END_SQL
|
|||
my %transports; # helps build a list of unique message_transport_types
|
||||
ROW: while ( my $row = $sth->fetchrow_hashref() ) {
|
||||
next ROW unless $row->{'message_attribute_id'};
|
||||
# warn( Data::Dumper->Dump( [ $row ], [ 'row' ] ) );
|
||||
$return->{'days_in_advance'} = $row->{'days_in_advance'} if defined $row->{'days_in_advance'};
|
||||
$return->{'wants_digest'} = $row->{'wants_digest'} if defined $row->{'wants_digest'};
|
||||
$return->{'letter_code'} = $row->{'letter_code'};
|
||||
$return->{'letter_code'} = $row->{'letter_code'};
|
||||
$transports{$row->{'message_transport_type'}} = 1;
|
||||
}
|
||||
@{$return->{'transports'}} = keys %transports;
|
||||
|
|
|
|||
|
|
@ -83,8 +83,8 @@ sub draw_text {
|
|||
my ($self, $pdf, %params) = @_;
|
||||
warn sprintf('No pdf object passed in.') and return -1 if !$pdf;
|
||||
my @card_text = ();
|
||||
return unless (ref($self->{'layout'}->{'text'}) eq 'ARRAY'); # just in case there is not text
|
||||
my $text = [@{$self->{'layout'}->{'text'}}]; # make a copy of the arrayref *not* simply a pointer
|
||||
return unless (ref($text) eq 'ARRAY'); # just in case there is not text
|
||||
while (scalar @$text) {
|
||||
my $line = shift @$text;
|
||||
my $parse_line = $line;
|
||||
|
|
@ -127,7 +127,7 @@ sub draw_text {
|
|||
while (1) {
|
||||
# $line =~ m/^.*(\s\b.*\b\s*|\s&|\<\b.*\b\>)$/; # original regexp... can be removed after dev stage is over
|
||||
$line =~ m/^.*(\s.*\s*|\s&|\<.*\>)$/;
|
||||
warn sprintf('Line wrap failed. DEBUG INFO: Data: \'%s\'\n Method: C4::Patroncards->draw_text Additional Information: Line wrap regexp failed. (Please file in this information in a bug report at http://bugs.koha.org', $line) and last WRAP_LINES if !$1;
|
||||
warn sprintf('Line wrap failed. DEBUG INFO: Data: \'%s\'\n Method: C4::Patroncards->draw_text Additional Information: Line wrap regexp failed. (Please file in this information in a bug report at http://bugs.koha-community.org', $line) and last WRAP_LINES if !$1;
|
||||
$trim = $1 . $trim;
|
||||
$line =~ s/$1//;
|
||||
$string_width = C4::Creators::PDF->StrWidth($line, $text_attribs->{'font'}, $text_attribs->{'font_size'});
|
||||
|
|
|
|||
172
C4/Record.pm
172
C4/Record.pm
|
|
@ -23,8 +23,8 @@ use strict;
|
|||
#use warnings; FIXME - Bug 2505
|
||||
|
||||
# please specify in which methods a given module is used
|
||||
use MARC::Record; # marc2marcxml, marcxml2marc, html2marc, changeEncoding
|
||||
use MARC::File::XML; # marc2marcxml, marcxml2marc, html2marcxml, changeEncoding
|
||||
use MARC::Record; # marc2marcxml, marcxml2marc, changeEncoding
|
||||
use MARC::File::XML; # marc2marcxml, marcxml2marc, changeEncoding
|
||||
use MARC::Crosswalk::DublinCore; # marc2dcxml
|
||||
use Biblio::EndnoteStyle;
|
||||
use Unicode::Normalize; # _entity_encode
|
||||
|
|
@ -54,8 +54,6 @@ $VERSION = 3.00;
|
|||
&marc2modsxml
|
||||
&marc2bibtex
|
||||
&marc2csv
|
||||
&html2marcxml
|
||||
&html2marc
|
||||
&changeEncoding
|
||||
);
|
||||
|
||||
|
|
@ -491,172 +489,6 @@ sub marcrecord2csv {
|
|||
}
|
||||
|
||||
|
||||
=head2 html2marcxml
|
||||
|
||||
my ($error,$marcxml) = html2marcxml($tags,$subfields,$values,$indicator,$ind_tag);
|
||||
|
||||
Returns a MARCXML scalar
|
||||
|
||||
this is used in addbiblio.pl and additem.pl to build the MARCXML record from
|
||||
the form submission.
|
||||
|
||||
FIXME: this could use some better code documentation
|
||||
|
||||
=cut
|
||||
|
||||
sub html2marcxml {
|
||||
my ($tags,$subfields,$values,$indicator,$ind_tag) = @_;
|
||||
my $error;
|
||||
# add the header info
|
||||
my $marcxml= MARC::File::XML::header(C4::Context->preference('TemplateEncoding'),C4::Context->preference('marcflavour'));
|
||||
|
||||
# some flags used to figure out where in the record we are
|
||||
my $prevvalue;
|
||||
my $prevtag=-1;
|
||||
my $first=1;
|
||||
my $j = -1;
|
||||
|
||||
# handle characters that would cause the parser to choke FIXME: is there a more elegant solution?
|
||||
for (my $i=0;$i<=@$tags;$i++){
|
||||
@$values[$i] =~ s/&/&/g;
|
||||
@$values[$i] =~ s/</</g;
|
||||
@$values[$i] =~ s/>/>/g;
|
||||
@$values[$i] =~ s/"/"/g;
|
||||
@$values[$i] =~ s/'/'/g;
|
||||
|
||||
if ((@$tags[$i] ne $prevtag)){
|
||||
$j++ unless (@$tags[$i] eq "");
|
||||
#warn "IND:".substr(@$indicator[$j],0,1).substr(@$indicator[$j],1,1)." ".@$tags[$i];
|
||||
if (!$first){
|
||||
$marcxml.="</datafield>\n";
|
||||
if ((@$tags[$i] > 10) && (@$values[$i] ne "")){
|
||||
my $ind1 = substr(@$indicator[$j],0,1);
|
||||
my $ind2 = substr(@$indicator[$j],1,1);
|
||||
$marcxml.="<datafield tag=\"@$tags[$i]\" ind1=\"$ind1\" ind2=\"$ind2\">\n";
|
||||
$marcxml.="<subfield code=\"@$subfields[$i]\">@$values[$i]</subfield>\n";
|
||||
$first=0;
|
||||
} else {
|
||||
$first=1;
|
||||
}
|
||||
} else {
|
||||
if (@$values[$i] ne "") {
|
||||
# handle the leader
|
||||
if (@$tags[$i] eq "000") {
|
||||
$marcxml.="<leader>@$values[$i]</leader>\n";
|
||||
$first=1;
|
||||
# rest of the fixed fields
|
||||
} elsif (@$tags[$i] lt '010') { # don't compare numerically 010 == 8
|
||||
$marcxml.="<controlfield tag=\"@$tags[$i]\">@$values[$i]</controlfield>\n";
|
||||
$first=1;
|
||||
} else {
|
||||
my $ind1 = substr(@$indicator[$j],0,1);
|
||||
my $ind2 = substr(@$indicator[$j],1,1);
|
||||
$marcxml.="<datafield tag=\"@$tags[$i]\" ind1=\"$ind1\" ind2=\"$ind2\">\n";
|
||||
$marcxml.="<subfield code=\"@$subfields[$i]\">@$values[$i]</subfield>\n";
|
||||
$first=0;
|
||||
}
|
||||
}
|
||||
}
|
||||
} else { # @$tags[$i] eq $prevtag
|
||||
if (@$values[$i] eq "") {
|
||||
} else {
|
||||
if ($first){
|
||||
my $ind1 = substr(@$indicator[$j],0,1);
|
||||
my $ind2 = substr(@$indicator[$j],1,1);
|
||||
$marcxml.="<datafield tag=\"@$tags[$i]\" ind1=\"$ind1\" ind2=\"$ind2\">\n";
|
||||
$first=0;
|
||||
}
|
||||
$marcxml.="<subfield code=\"@$subfields[$i]\">@$values[$i]</subfield>\n";
|
||||
}
|
||||
}
|
||||
$prevtag = @$tags[$i];
|
||||
}
|
||||
$marcxml.= MARC::File::XML::footer();
|
||||
#warn $marcxml;
|
||||
return ($error,$marcxml);
|
||||
}
|
||||
|
||||
=head2 html2marc
|
||||
|
||||
Probably best to avoid using this ... it has some rather striking problems:
|
||||
|
||||
* saves blank subfields
|
||||
|
||||
* subfield order is hardcoded to always start with 'a' for repeatable tags (because it is hardcoded in the addfield routine).
|
||||
|
||||
* only possible to specify one set of indicators for each set of tags (ie, one for all the 650s). (because they were stored in a hash with the tag as the key).
|
||||
|
||||
* the underlying routines didn't support subfield reordering or subfield repeatability.
|
||||
|
||||
I've left it in here because it could be useful if someone took the time to fix it. -- kados
|
||||
|
||||
=cut
|
||||
|
||||
sub html2marc {
|
||||
my ($dbh,$rtags,$rsubfields,$rvalues,%indicators) = @_;
|
||||
my $prevtag = -1;
|
||||
my $record = MARC::Record->new();
|
||||
# my %subfieldlist=();
|
||||
my $prevvalue; # if tag <10
|
||||
my $field; # if tag >=10
|
||||
for (my $i=0; $i< @$rtags; $i++) {
|
||||
# rebuild MARC::Record
|
||||
# warn "0=>".@$rtags[$i].@$rsubfields[$i]." = ".@$rvalues[$i].": ";
|
||||
if (@$rtags[$i] ne $prevtag) {
|
||||
if ($prevtag < 10) {
|
||||
if ($prevvalue) {
|
||||
if (($prevtag ne '000') && ($prevvalue ne "")) {
|
||||
$record->add_fields((sprintf "%03s",$prevtag),$prevvalue);
|
||||
} elsif ($prevvalue ne ""){
|
||||
$record->leader($prevvalue);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (($field) && ($field ne "")) {
|
||||
$record->add_fields($field);
|
||||
}
|
||||
}
|
||||
$indicators{@$rtags[$i]}.=' ';
|
||||
# skip blank tags, I hope this works
|
||||
if (@$rtags[$i] eq ''){
|
||||
$prevtag = @$rtags[$i];
|
||||
undef $field;
|
||||
next;
|
||||
}
|
||||
if (@$rtags[$i] <10) {
|
||||
$prevvalue= @$rvalues[$i];
|
||||
undef $field;
|
||||
} else {
|
||||
undef $prevvalue;
|
||||
if (@$rvalues[$i] eq "") {
|
||||
undef $field;
|
||||
} else {
|
||||
$field = MARC::Field->new( (sprintf "%03s",@$rtags[$i]), substr($indicators{@$rtags[$i]},0,1),substr($indicators{@$rtags[$i]},1,1), @$rsubfields[$i] => @$rvalues[$i]);
|
||||
}
|
||||
# warn "1=>".@$rtags[$i].@$rsubfields[$i]." = ".@$rvalues[$i].": ".$field->as_formatted;
|
||||
}
|
||||
$prevtag = @$rtags[$i];
|
||||
} else {
|
||||
if (@$rtags[$i] <10) {
|
||||
$prevvalue=@$rvalues[$i];
|
||||
} else {
|
||||
if (length(@$rvalues[$i])>0) {
|
||||
$field->add_subfields(@$rsubfields[$i] => @$rvalues[$i]);
|
||||
# warn "2=>".@$rtags[$i].@$rsubfields[$i]." = ".@$rvalues[$i].": ".$field->as_formatted;
|
||||
}
|
||||
}
|
||||
$prevtag= @$rtags[$i];
|
||||
}
|
||||
}
|
||||
#}
|
||||
# the last has not been included inside the loop... do it now !
|
||||
#use Data::Dumper;
|
||||
#warn Dumper($field->{_subfields});
|
||||
$record->add_fields($field) if (($field) && $field ne "");
|
||||
#warn "HTML2MARC=".$record->as_formatted;
|
||||
return $record;
|
||||
}
|
||||
|
||||
=head2 changeEncoding - Change the encoding of a record
|
||||
|
||||
my ($error, $newrecord) = changeEncoding($record,$format,$flavour,$to_encoding,$from_encoding);
|
||||
|
|
|
|||
|
|
@ -380,76 +380,11 @@ sub GetReservesFromBorrowernumber {
|
|||
sub CanBookBeReserved{
|
||||
my ($borrowernumber, $biblionumber) = @_;
|
||||
|
||||
my $dbh = C4::Context->dbh;
|
||||
my $biblio = GetBiblioData($biblionumber);
|
||||
my $borrower = C4::Members::GetMember(borrowernumber=>$borrowernumber);
|
||||
my $controlbranch = C4::Context->preference('ReservesControlBranch');
|
||||
my $itype = C4::Context->preference('item-level_itypes');
|
||||
my $reservesrights= 0;
|
||||
my $reservescount = 0;
|
||||
|
||||
# we retrieve the user rights
|
||||
my @args;
|
||||
my $rightsquery = "SELECT categorycode, itemtype, branchcode, reservesallowed
|
||||
FROM issuingrules
|
||||
WHERE categorycode IN (?, '*')";
|
||||
push @args,$borrower->{categorycode};
|
||||
|
||||
if($controlbranch eq "ItemHomeLibrary"){
|
||||
$rightsquery .= " AND branchcode = '*'";
|
||||
}elsif($controlbranch eq "PatronLibrary"){
|
||||
$rightsquery .= " AND branchcode IN (?,'*')";
|
||||
push @args, $borrower->{branchcode};
|
||||
my @items = GetItemsInfo($biblionumber);
|
||||
foreach my $item (@items){
|
||||
return 1 if CanItemBeReserved($borrowernumber, $item->{itemnumber});
|
||||
}
|
||||
|
||||
if(not $itype){
|
||||
$rightsquery .= " AND itemtype IN (?,'*')";
|
||||
push @args, $biblio->{itemtype};
|
||||
}else{
|
||||
$rightsquery .= " AND itemtype = '*'";
|
||||
}
|
||||
|
||||
$rightsquery .= " ORDER BY categorycode DESC, itemtype DESC, branchcode DESC";
|
||||
my $sthrights = $dbh->prepare($rightsquery);
|
||||
$sthrights->execute(@args);
|
||||
|
||||
if(my $row = $sthrights->fetchrow_hashref()){
|
||||
$reservesrights = $row->{reservesallowed};
|
||||
}
|
||||
|
||||
@args = ();
|
||||
# we count how many reserves the borrower have
|
||||
my $countquery = "SELECT count(*) as count
|
||||
FROM reserves
|
||||
LEFT JOIN items USING (itemnumber)
|
||||
LEFT JOIN biblioitems ON (reserves.biblionumber=biblioitems.biblionumber)
|
||||
LEFT JOIN borrowers USING (borrowernumber)
|
||||
WHERE borrowernumber = ?
|
||||
";
|
||||
push @args, $borrowernumber;
|
||||
|
||||
if(not $itype){
|
||||
$countquery .= "AND itemtype = ?";
|
||||
push @args, $biblio->{itemtype};
|
||||
}
|
||||
|
||||
if($controlbranch eq "PatronLibrary"){
|
||||
$countquery .= " AND borrowers.branchcode = ? ";
|
||||
push @args, $borrower->{branchcode};
|
||||
}
|
||||
|
||||
my $sthcount = $dbh->prepare($countquery);
|
||||
$sthcount->execute(@args);
|
||||
|
||||
if(my $row = $sthcount->fetchrow_hashref()){
|
||||
$reservescount = $row->{count};
|
||||
}
|
||||
if($reservescount < $reservesrights){
|
||||
return 1;
|
||||
}else{
|
||||
return 0;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
=head2 CanItemBeReserved
|
||||
|
|
|
|||
13
C4/Search.pm
13
C4/Search.pm
|
|
@ -1426,12 +1426,11 @@ sub searchResults {
|
|||
# loop through all of the records we've retrieved
|
||||
for ( my $i = $offset ; $i <= $times - 1 ; $i++ ) {
|
||||
my $marcrecord = MARC::File::USMARC::decode( $marcresults[$i] );
|
||||
if ($bibliotag<10){
|
||||
$fw = GetFrameworkCode($marcrecord->field($bibliotag)->data);
|
||||
}else{
|
||||
$fw = GetFrameworkCode($marcrecord->subfield($bibliotag,$bibliosubf));
|
||||
}
|
||||
|
||||
$fw = $scan
|
||||
? undef
|
||||
: $bibliotag < 10
|
||||
? GetFrameworkCode($marcrecord->field($bibliotag)->data)
|
||||
: GetFrameworkCode($marcrecord->subfield($bibliotag,$bibliosubf));
|
||||
my $oldbiblio = TransformMarcToKoha( $dbh, $marcrecord, $fw );
|
||||
$oldbiblio->{subtitle} = GetRecordValue('subtitle', $marcrecord, $fw);
|
||||
$oldbiblio->{result_number} = $i + 1;
|
||||
|
|
@ -2573,7 +2572,7 @@ AND (authtypecode IS NOT NULL AND authtypecode<>\"\")|);
|
|||
#There are no results, build authority record, add it to Authorities, get authid and add it to 9
|
||||
###NOTICE : This is only valid if a subfield is linked to one and only one authtypecode
|
||||
###NOTICE : This can be a problem. We should also look into other types and rejected forms.
|
||||
my $authtypedata=C4::AuthoritiesMarc->GetAuthType($data->{authtypecode});
|
||||
my $authtypedata=C4::AuthoritiesMarc::GetAuthType($data->{authtypecode});
|
||||
next unless $authtypedata;
|
||||
my $marcrecordauth=MARC::Record->new();
|
||||
my $authfield=MARC::Field->new($authtypedata->{auth_tag_to_report},'','',"a"=>"".$field->subfield('a'));
|
||||
|
|
|
|||
|
|
@ -287,10 +287,10 @@ sub UpdateClaimdateIssues {
|
|||
my $dbh = C4::Context->dbh;
|
||||
$date = strftime( "%Y-%m-%d", localtime ) unless ($date);
|
||||
my $query = "
|
||||
UPDATE serial SET claimdate=$date,status=7
|
||||
WHERE serialid in (" . join( ",", @$serialids ) . ")";
|
||||
UPDATE serial SET claimdate = ?, status = 7
|
||||
WHERE serialid in (" . join( ",", map { '?' } @$serialids ) . ")";
|
||||
my $rq = $dbh->prepare($query);
|
||||
$rq->execute;
|
||||
$rq->execute($date, @$serialids);
|
||||
return $rq->rows;
|
||||
}
|
||||
|
||||
|
|
@ -2082,15 +2082,15 @@ returns a count of items from serial matching the subscriptionid
|
|||
sub HasItems {
|
||||
my ($subscriptionid) = @_;
|
||||
my $dbh = C4::Context->dbh;
|
||||
my $query = qq|
|
||||
my $query = q|
|
||||
SELECT COUNT(serialitems.itemnumber)
|
||||
FROM serial
|
||||
LEFT JOIN serialitems USING(serialid)
|
||||
WHERE subscriptionid=? AND serialitems.serialid NOT NULL
|
||||
WHERE subscriptionid=? AND serialitems.serialid IS NOT NULL
|
||||
|;
|
||||
my $sth=$dbh->prepare($query);
|
||||
$sth->execute($subscriptionid);
|
||||
my ($countitems)=$sth->fetchrow;
|
||||
my ($countitems)=$sth->fetchrow_array();
|
||||
return $countitems;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ BEGIN {
|
|||
@ISA = qw(Exporter);
|
||||
@EXPORT = qw(
|
||||
&GetShelves &GetShelfContents &GetShelf
|
||||
&AddToShelf &AddToShelfFromBiblio &AddShelf
|
||||
&AddToShelf &AddShelf
|
||||
&ModShelf
|
||||
&ShelfPossibleAction
|
||||
&DelFromShelf &DelShelf
|
||||
|
|
@ -67,7 +67,7 @@ C4::VirtualShelves - Functions for manipulating Koha virtual virtualshelves
|
|||
|
||||
This module provides functions for manipulating virtual virtualshelves,
|
||||
including creating and deleting virtualshelves, and adding and removing
|
||||
items to and from virtualshelves.
|
||||
bibs to and from virtualshelves.
|
||||
|
||||
=head1 FUNCTIONS
|
||||
|
||||
|
|
@ -237,7 +237,7 @@ sub GetShelf ($) {
|
|||
|
||||
=head2 GetShelfContents
|
||||
|
||||
$itemlist = &GetShelfContents($shelfnumber);
|
||||
$biblist = &GetShelfContents($shelfnumber);
|
||||
|
||||
Looks up information about the contents of virtual virtualshelves number
|
||||
C<$shelfnumber>. Sorted by a field in the biblio table. copyrightdate
|
||||
|
|
@ -331,8 +331,8 @@ sub AddShelf {
|
|||
|
||||
&AddToShelf($biblionumber, $shelfnumber);
|
||||
|
||||
Adds item number C<$biblionumber> to virtual virtualshelves number
|
||||
C<$shelfnumber>, unless that item is already on that shelf.
|
||||
Adds bib number C<$biblionumber> to virtual virtualshelves number
|
||||
C<$shelfnumber>, unless that bib is already on that shelf.
|
||||
|
||||
=cut
|
||||
|
||||
|
|
@ -364,42 +364,6 @@ sub AddToShelf {
|
|||
$sth->execute( $shelfnumber );
|
||||
}
|
||||
|
||||
=head2 AddToShelfFromBiblio
|
||||
|
||||
&AddToShelfFromBiblio($biblionumber, $shelfnumber)
|
||||
|
||||
this function allow to add a virtual into the shelf number $shelfnumber
|
||||
from biblionumber.
|
||||
|
||||
=cut
|
||||
|
||||
sub AddToShelfFromBiblio {
|
||||
my ( $biblionumber, $shelfnumber ) = @_;
|
||||
return unless $biblionumber;
|
||||
my $query = qq(
|
||||
SELECT *
|
||||
FROM virtualshelfcontents
|
||||
WHERE shelfnumber=? AND biblionumber=?
|
||||
);
|
||||
my $sth = $dbh->prepare($query);
|
||||
$sth->execute( $shelfnumber, $biblionumber );
|
||||
unless ( $sth->rows ) {
|
||||
my $query =qq(
|
||||
INSERT INTO virtualshelfcontents
|
||||
(shelfnumber, biblionumber, flags)
|
||||
VALUES
|
||||
(?, ?, 0)
|
||||
);
|
||||
$sth = $dbh->prepare($query);
|
||||
$sth->execute( $shelfnumber, $biblionumber );
|
||||
$query = qq(UPDATE virtualshelves
|
||||
SET lastmodified = CURRENT_TIMESTAMP
|
||||
WHERE shelfnumber = ?);
|
||||
$sth = $dbh->prepare($query);
|
||||
$sth->execute( $shelfnumber );
|
||||
}
|
||||
}
|
||||
|
||||
=head2 ModShelf
|
||||
|
||||
ModShelf($shelfnumber, $hashref)
|
||||
|
|
@ -486,8 +450,8 @@ sub ShelfPossibleAction {
|
|||
|
||||
&DelFromShelf( $biblionumber, $shelfnumber);
|
||||
|
||||
Removes item number C<$biblionumber> from virtual virtualshelves number
|
||||
C<$shelfnumber>. If the item wasn't on that virtualshelves to begin with,
|
||||
Removes bib number C<$biblionumber> from virtual virtualshelves number
|
||||
C<$shelfnumber>. If the bib wasn't on that virtualshelves to begin with,
|
||||
nothing happens.
|
||||
|
||||
=cut
|
||||
|
|
|
|||
|
|
@ -89,7 +89,8 @@ sub shelfpage ($$$$$) {
|
|||
if ( $shelfnumber = $query->param('viewshelf') ) {
|
||||
if ( ShelfPossibleAction( $loggedinuser, $shelfnumber, 'manage' ) ) {
|
||||
if ( $barcode = $query->param('addbarcode') ) {
|
||||
if ( $item = GetItem( 0, $barcode ) ) {
|
||||
$item = GetItem( 0, $barcode );
|
||||
if (defined $item && $item->{'itemnumber'}){
|
||||
$biblio = GetBiblioFromItemNumber( $item->{'itemnumber'} );
|
||||
AddToShelf( $biblio->{'biblionumber'}, $shelfnumber )
|
||||
or push @paramsloop, { duplicatebiblio => $barcode };
|
||||
|
|
|
|||
|
|
@ -210,16 +210,15 @@ sub buildKohaItemsNamespace {
|
|||
} else {
|
||||
$status = "available";
|
||||
}
|
||||
my $homebranch = $branches->{$item->{homebranch}}->{'branchname'};
|
||||
my $itemcallnumber = $item->{itemcallnumber} || '';
|
||||
$itemcallnumber =~ s/\&/\&\;/g;
|
||||
my $homebranch = xml_escape($branches->{$item->{homebranch}}->{'branchname'});
|
||||
my $itemcallnumber = xml_escape($item->{itemcallnumber});
|
||||
$xml.= "<item><homebranch>$homebranch</homebranch>".
|
||||
"<status>$status</status>".
|
||||
"<itemcallnumber>".$itemcallnumber."</itemcallnumber>"
|
||||
. "</item>";
|
||||
|
||||
}
|
||||
$xml = "<items xmlns=\"http://www.koha.org/items\">".$xml."</items>";
|
||||
$xml = "<items xmlns=\"http://www.koha-community.org/items\">".$xml."</items>";
|
||||
return $xml;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ package C4::Z3950;
|
|||
|
||||
# Routines for handling Z39.50 lookups
|
||||
|
||||
# Koha library project www.koha.org
|
||||
# Koha library project www.koha-community.org
|
||||
|
||||
# Licensed under the GPL
|
||||
|
||||
|
|
|
|||
26
INSTALL
26
INSTALL
|
|
@ -1,4 +1,4 @@
|
|||
Koha 3 - the next-generation release of the award-winning Koha open-source
|
||||
Koha 3.2 - the next-generation release of the award-winning Koha open-source
|
||||
integrated library system.
|
||||
|
||||
Koha is the first open-source Integrated Library System. Developed initially in
|
||||
|
|
@ -10,13 +10,7 @@ more about the Koha project at http://koha-community.org.
|
|||
INSTALLATION
|
||||
============
|
||||
|
||||
Koha 3 comes with a new installer, based on MakeMaker, the tool that
|
||||
is usually used to install CPAN modules. This means that if you know
|
||||
how to customise CPAN-installed modules, the same things should work
|
||||
for you with Koha. If not, don't worry. If you want to customise the
|
||||
installation more than described below, run "man ExtUtils::MakeMaker"
|
||||
|
||||
You need to have a server running Perl 5.8, MySQL 5 or PostgreSQL 8.2.5, Zebra
|
||||
You need to have a server running Perl 5.8.8 or later, MySQL 5, Zebra
|
||||
2.0.22 or greater and a webserver (preferably Apache2) before installing
|
||||
Koha.
|
||||
|
||||
|
|
@ -25,22 +19,14 @@ user, with a password set. Note: kohaadmin must have at least the
|
|||
following privileges: SELECT, INSERT, UPDATE, DELETE, CREATE, DROP,
|
||||
ALTER, and LOCK TABLES.
|
||||
|
||||
PostgreSQL 8.2.5: Create a database called 'koha,' owned by 'kohaadmin'
|
||||
user, with a password set. Note: kohaadmin must be a superuser. You
|
||||
must also add plpgsql to the koha database. NOTE: PostgreSQL support in
|
||||
Koha is experimental and should not be attempted for production systems
|
||||
without a heavy investment in testing.
|
||||
|
||||
Default installation instructions:
|
||||
|
||||
1. perl Makefile.PL
|
||||
(you will be prompted to answer a number of questions and you will
|
||||
need to install some Perl dependencies)
|
||||
WARNING:
|
||||
1.1 A Perl library Koha depends on, MARC::File::XML may not work with Perl
|
||||
5.10, see: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2309),
|
||||
|
||||
1.2 recent versions of CGI::Session have caused some issues for users;
|
||||
1.1 recent versions of CGI::Session have caused some issues for users;
|
||||
as of this release date, we suggest downloading the CGI::Session::serialize::yaml
|
||||
tarball direct from CPAN and install it directly rather than using the cpan command
|
||||
|
||||
|
|
@ -73,12 +59,12 @@ For full instructions on how to override the default settings, run
|
|||
|
||||
$ perldoc rewrite-config.PL
|
||||
|
||||
|
||||
UPGRADE
|
||||
=======
|
||||
If you are upgrading from a previous installation of Koha 3, you can
|
||||
If you are upgrading from a previous installation of Koha 3.x, you can
|
||||
use the following:
|
||||
|
||||
./koha_perl_deps.pl -u -m # to identify new Perl dependencies
|
||||
perl Makefile.PL --prev-install-log /path/to/koha-install-log
|
||||
make
|
||||
make test
|
||||
|
|
@ -132,7 +118,7 @@ http://dir.gmane.org/gmane.education.libraries.koha.devel
|
|||
IF THIS IS A RELEASED VERSION: please see the support pages at
|
||||
http://www.koha-community.org/
|
||||
|
||||
Released versions usually have three-digit numbers, like 3.00.01,
|
||||
Released versions usually have three-digit numbers, like 3.02.00,
|
||||
while other version number styles are usually snapshots or previews.
|
||||
|
||||
|
||||
|
|
|
|||
195
INSTALL.debian
195
INSTALL.debian
|
|
@ -7,7 +7,7 @@ Some parts copyright 2010 Chris Nighswonger
|
|||
Feedback/bug reports: Koha Developer's List:
|
||||
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
|
||||
|
||||
This document last modified: 19 May 2010
|
||||
This document last modified: October 8, 2010
|
||||
|
||||
Installation Instructions
|
||||
=============================
|
||||
|
|
@ -19,9 +19,9 @@ as indicated or by running the command directly as root.
|
|||
|
||||
1.1 Install Debian Lenny via Businesscard CD
|
||||
|
||||
See http://www.debian.org/releases/lenny/debian-installer/
|
||||
See http://www.debian.org/releases/lenny/debian-installer/
|
||||
|
||||
1.3 Set up Indexdata apt sources for Yaz and Zebra packages
|
||||
1.2 Set up Indexdata apt sources for Yaz and Zebra packages
|
||||
|
||||
Edit your /etc/apt/sources.list file and add the following:
|
||||
|
||||
|
|
@ -31,30 +31,33 @@ Edit your /etc/apt/sources.list file and add the following:
|
|||
|
||||
The Index Data packages are signed with a key you can install as follows:
|
||||
|
||||
$ wget http://ftp.indexdata.dk/debian/indexdata.asc
|
||||
$ sudo apt-key add indexdata.asc
|
||||
$ wget -O- http://ftp.indexdata.dk/debian/indexdata.asc | sudo apt-key add -
|
||||
|
||||
1.4 Get Koha
|
||||
Finally, update your apt sources:
|
||||
$ sudo apt-get update
|
||||
|
||||
1.4.1 Option A: Download Koha via Git (optional)
|
||||
1.3 Get Koha
|
||||
Choose one of these options:
|
||||
|
||||
1.3.1 Option A: Download Koha via Git (optional)
|
||||
|
||||
$ sudo apt-get install git-core git-email
|
||||
$ git clone git://git.koha-community.org/pub/scm/koha.git kohaclone
|
||||
$ cd kohaclone
|
||||
$ git clone git://git.koha-community.org/koha.git koha
|
||||
$ cd koha
|
||||
$ git checkout -b myinstall origin
|
||||
|
||||
Note: for more information about Git, please see the Koha Git Usage Guide:
|
||||
|
||||
http://wiki.koha-community.org/wiki/Version_Control_Using_Git
|
||||
|
||||
1.4.2 Option B: Download Koha from http://download.koha-community.org
|
||||
1.3.2 Option B: Download Koha from http://download.koha-community.org
|
||||
|
||||
Find the latest Koha stable version on http://download.koha-community.org
|
||||
and get it:
|
||||
|
||||
$ wget <URL> found on download.koha-community.org
|
||||
|
||||
1.5 Install additional Debian dependencies
|
||||
1.4 Install additional Debian dependencies
|
||||
|
||||
IMPORTANT: You should only use CPAN for Perl dependencies which are NOT
|
||||
available from the package maintainer. You have been warned!
|
||||
|
|
@ -64,20 +67,21 @@ Zebra and all Debian packaged Perl module required by Koha:
|
|||
|
||||
$ sudo install_misc/apt-get-debian-lenny.sh
|
||||
|
||||
1.6 Install Perl dependencies that aren't packaged into Debian Lenny
|
||||
1.5 Install Perl dependencies that aren't packaged into Debian Lenny
|
||||
sources
|
||||
|
||||
Run the following command:
|
||||
|
||||
$ sudo cpan Algorithm::CheckDigits SMS::Send HTTP::OAI IPC::Cmd \\
|
||||
Memoize::Memcached PDF::API2::Simple PDF::Table Storable Test::More \\
|
||||
Locale::Currency::Format
|
||||
$ sudo cpan Algorithm::CheckDigits SMS::Send HTTP::OAI IPC::Cmd \
|
||||
Memoize::Memcached PDF::API2::Simple PDF::Table Storable Test::More \
|
||||
Locale::Currency::Format DateTime Lingua::Stem::Snowball Text::CSV::Encoded \
|
||||
UNIVERSAL::require YAML Authen::CAS::Client
|
||||
|
||||
Note: you may need to run CPAN initialization if you've not run cpan
|
||||
before:
|
||||
|
||||
/etc/perl/CPAN/Config.pm initialized.
|
||||
|
||||
|
||||
CPAN is the world-wide archive of perl resources. It consists of about
|
||||
100 sites that all replicate the same contents all around the globe.
|
||||
Many countries have at least one CPAN site already. The resources
|
||||
|
|
@ -94,23 +98,20 @@ When the configuration is completed CPAN will install the Perl modules.
|
|||
|
||||
2. Configuration of dependencies
|
||||
|
||||
2.1 Update root MySQL password (if dselect didn't do it for you already)
|
||||
2.1 Create the Koha database
|
||||
|
||||
$ sudo mysqladmin password <password>
|
||||
|
||||
2.2 Create the Koha database
|
||||
|
||||
Create the database and user with associated privileges:
|
||||
Create the database and user with associated privileges (information inside <> brackets is
|
||||
data you assign specifically to your installation. Do not include the <>'s when entering the commands):
|
||||
|
||||
$ mysqladmin -uroot -p<password> create <kohadatabasename>
|
||||
$ mysql -uroot -p<password>
|
||||
|
||||
|
||||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||||
Your MySQL connection id is 22
|
||||
Server version: 5.0.51a-24 (Debian)
|
||||
|
||||
|
||||
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
|
||||
|
||||
|
||||
mysql> grant all on <kohadatabasename>.* to '<kohadatabaseuser>'@'localhost' identified by '<kohadatabaseuserpassword>';
|
||||
Query OK, 0 rows affected (0.00 sec)
|
||||
|
||||
|
|
@ -119,37 +120,64 @@ When the configuration is completed CPAN will install the Perl modules.
|
|||
|
||||
mysql> quit
|
||||
|
||||
2.3 Test your SAX Parser and correct where necessary
|
||||
You may want to document the database name, the database username, and the database password you just set.
|
||||
Step 3 will require them.
|
||||
|
||||
You must be sure you're using the XML::LibXML SAX parser, not Expat or
|
||||
PurePerl, both of which have outstanding bugs with pre-composed characters.
|
||||
2.2 Test your SAX Parser and correct where necessary
|
||||
|
||||
You must be sure you're using the XML::LibXML SAX parser, not Expat or
|
||||
PurePerl, both of which have outstanding bugs with pre-composed characters.
|
||||
You can test your SAX parser by running:
|
||||
|
||||
$ cd koha
|
||||
$ misc/sax_parser_print.pl
|
||||
|
||||
You should see something like::
|
||||
You should see something like:
|
||||
|
||||
XML::LibXML::SAX::Parser=HASH(0x81fe220)
|
||||
|
||||
If you're using PurePerl or Expat, you'll need to edit your
|
||||
ini file, typically located at:
|
||||
If you are configured to use PurePerl or Expat, the script will say you have a problem and
|
||||
you'll need to edit your ini file to correct it.
|
||||
|
||||
The file is typically located at:
|
||||
|
||||
/etc/perl/XML/SAX/ParserDetails.ini
|
||||
|
||||
The correct parser entry will need to be moved to the bottom of the file.
|
||||
The following is the entry you are looking for:
|
||||
|
||||
[XML::LibXML::SAX::Parser]
|
||||
http://xml.org/sax/features/namespaces = 1
|
||||
|
||||
2.3 Create your Koha system user (if you haven't created one already)
|
||||
|
||||
$ sudo adduser koha
|
||||
|
||||
You can substitute any username for "koha," just be sure to write it down, you will need to know what it is in step 3.
|
||||
|
||||
3. Run the Koha installer
|
||||
|
||||
$ perl Makefile.PL
|
||||
( answer questions )
|
||||
( answer questions )
|
||||
$ make
|
||||
$ make test
|
||||
$ sudo make install
|
||||
|
||||
3.1 Export the environment variables
|
||||
Make install will tell you what the proper path for these environment variables is.
|
||||
In case you missed it at the end of make install, here are some examples:
|
||||
|
||||
Example (for standard install):
|
||||
$ export KOHA_CONF=/etc/koha/koha-conf.xml
|
||||
$ export PERL5LIB=/usr/share/koha/lib
|
||||
|
||||
Example (for dev install. These paths are set during Makefile.PL.):
|
||||
$ export KOHA_CONF=/path/to/your/koha-conf.xml
|
||||
$ export PERL5LIB=/path/to/koha/lib
|
||||
|
||||
4. Configure and start Apache
|
||||
$ sudo ln -s /etc/koha/koha-httpd.conf /etc/apache2/sites-available/koha
|
||||
(note that the path to koha-httpd.conf may be different depending on your
|
||||
installation choices)
|
||||
(note that the path to koha-httpd.conf may be different if you chose a dev install)
|
||||
|
||||
Add the following lines to /etc/apache2/ports.conf:
|
||||
|
||||
|
|
@ -163,75 +191,98 @@ Run the following commands:
|
|||
$ sudo apache2ctl restart
|
||||
|
||||
Note: you may still see the usual Apache default site if your VirtualHost
|
||||
configuration isn't correct. The command "sudo a2dissite default" may be a
|
||||
quick fix, but may have side-effects. See the Apache HTTPD manual section on
|
||||
virtual hosts for full instructions.
|
||||
configuration isn't correct. If Koha is the only web application running on the server,
|
||||
the command "sudo a2dissite default" may be a quick fix. For servers running other sites
|
||||
alongside Koha, see the Apache HTTPD manual section on virtual hosts for full
|
||||
instructions (http://httpd.apache.org/docs/2.0/vhosts/).
|
||||
|
||||
5. Configure and start Zebra
|
||||
5. Run the Web Installer, populate the database, initial configuration of settings
|
||||
|
||||
Point your browser to http://<servername>:8080/
|
||||
|
||||
Note: <servername> is (usually) the IP of your server, or localhost (if you are connecting
|
||||
from the same machine Koha is installed on. You can verify the location by checking
|
||||
the VirtualHost settings for both the opac and intranet virtual hosts in koha-httpd.conf
|
||||
|
||||
Koha will redirect you to the Web Installer where you can continue the setup. You will be prompted to enter in your DATABASE username and password. It is through this interface
|
||||
that
|
||||
you can install the sample data for libraries, patrons, and much more.
|
||||
|
||||
Be aware that removing sample data at a later time (when you may want to take the
|
||||
server into production) may not be easy, and if your intent is to take this
|
||||
install from testing to production, go with minimal sample data (no patrons or bibliographic records).
|
||||
|
||||
6. Configure and start Zebra
|
||||
|
||||
Note: it's recommended that you daemonize the Zebra process and add it to your
|
||||
startup profile. For a non-production test/development installation, running
|
||||
Zebra from the command line can be useful. Pick from the two available options
|
||||
below, or roll your own :-)
|
||||
startup profile. For a non-production test/development installation, running
|
||||
Zebra from the command line can be useful. Pick one of the options below (or roll your own).
|
||||
|
||||
Note: it's also recommended that you create a Koha system user, which you will
|
||||
have specified during the install process. Alternatively, Zebra can be
|
||||
configured to run as the root user.
|
||||
have specified during the install process. Alternatively, Zebra can be
|
||||
configured to run as the root user.
|
||||
|
||||
Option 1: run the Zebra processes from the command line:
|
||||
Option 1: run the Zebra processes from the command line (manual indexing):
|
||||
|
||||
1.1 Zebra Search Server
|
||||
6.1.1 Zebra Search Server
|
||||
|
||||
This process send responses to search requests sent by Koha or
|
||||
Z39.50/SRU/SRW clients.
|
||||
|
||||
$ sudo -u ${KOHA_USER} zebrasrv -f /etc/koha/koha-conf.xml
|
||||
(note that the path to koha-conf.xml may be different depending on your
|
||||
installation choices)
|
||||
$ sudo -u <kohauser> zebrasrv -f /etc/koha/koha-conf.xml
|
||||
(note that the path to koha-conf.xml may be different if you chose a dev install, and that
|
||||
<kohauser> refers to the user you set up in step 2.3)
|
||||
|
||||
Note: the user you run Zebra as will be the only user with write permission
|
||||
on the Zebra index; in development mode, you may wish to use your
|
||||
system user.
|
||||
|
||||
1.2 Zebra Indexer
|
||||
|
||||
6.1.2 Zebra Indexer
|
||||
|
||||
Added/updated/deleted records in Koha MySQL database must be indexed
|
||||
into Zebra. A specific script must be launched each time a bibliographic
|
||||
or an authority record is edited.
|
||||
|
||||
$ sudo -u ${KOHA_USER} misc/migration_tools/rebuild_zebra -z -b -a
|
||||
NOTE: This script should be run as the kohauser (the default is 'koha').
|
||||
$ sudo -u <kohauser> misc/migration_tools/rebuild_zebra.pl -z -b -a
|
||||
|
||||
Option 2: run automatically Zebra process as a daemon:
|
||||
Note: This script should be run as the kohauser (the default is 'koha', but
|
||||
this is the user you set up in step 2.3).
|
||||
|
||||
Note that references to $SCRIPT_DIR refer to the directory where
|
||||
Koha's command-line scripts are installed, e.g., /usr/share/koha/bin.
|
||||
Option 2: run the Zebra process as a daemon (automatic indexing):
|
||||
|
||||
1.1 Zebra Search Server
|
||||
Note: References to <script_dir> refer to the directory where
|
||||
Koha's command-line scripts are installed, the path
|
||||
is /usr/share/koha/bin/ by default in a standard install.
|
||||
|
||||
$ sudo ln -s ${SCRIPT_DIR}/koha-zebra-ctl.sh /etc/init.d/koha-zebra-daemon
|
||||
(Note: ${SCRIPT_DIR} is /usr/share/koha/bin/ by default in a standard install)
|
||||
6.2.1 Zebra Search Server
|
||||
|
||||
$ sudo ln -s <script_dir>/koha-zebra-ctl.sh /etc/init.d/koha-zebra-daemon
|
||||
(Note: <script_dir> is /usr/share/koha/bin/ by default in a standard install)
|
||||
$ sudo update-rc.d koha-zebra-daemon defaults
|
||||
( Note: see man chkconfig(8) on other distros )
|
||||
|
||||
$ sudo ${SCRIPT_DIR}/koha-zebra-ctl.sh start
|
||||
$ sudo <script_dir>/koha-zebra-ctl.sh start
|
||||
(Note: <script_dir> is /usr/share/koha/bin/ by default in a standard install)
|
||||
|
||||
1.2 Zebra Indexer
|
||||
|
||||
Add an entry in Koha user crontab to scheduled added/updated/deleted records
|
||||
indexing by Zebra with this command:
|
||||
6.2.2 Zebra Indexer
|
||||
|
||||
<path/to/koha>/misc/migration_tools/rebuild_zebra -z -b -a
|
||||
Add an entry in Koha user crontab to process scheduled added/updated/deleted records
|
||||
indexing by Zebra. <script_dir>cronjobs/crontab.example contains examples for these cron jobs (and many more).
|
||||
|
||||
See check misc/cronjobs/crontab.example for usage examples.
|
||||
NOTE: This job should be setup under the kohauser (the default is 'koha').
|
||||
NOTE: The cronjobs should be setup under the kohauser (the default is 'koha', but
|
||||
this is the user you set up in step 2.3).
|
||||
|
||||
6. Run the Web Installer, populate the database, initial configuration of settings
|
||||
Edit the crontab for the koha user by running
|
||||
$ sudo -u <kohauser> crontab -e
|
||||
|
||||
Point your browser to http://<servername>:8080/
|
||||
For Zebra indexing, you are looking for the example that begins with
|
||||
|
||||
# ZEBRA INDEX UPDATES with -z option, incremental index updates throughout the day
|
||||
# for both authorities and bibs
|
||||
|
||||
It may be easiest to copy/paste the example into your own crontab and modify as necessary.
|
||||
|
||||
It should redirect you to the Web Installer where you can continue the setup.
|
||||
You can install the sample data for libraries, patrons, etc. via the Web Installer
|
||||
|
||||
7. What next?
|
||||
|
||||
|
|
@ -256,12 +307,12 @@ Authority data in MARC21 format
|
|||
$ misc/migration_tools/rebuild_zebra.pl -b -w
|
||||
|
||||
Once the indexing has completed, you will be able to search for records in your system.
|
||||
NOTE: This script should be run as the kohauser (the default is 'koha').
|
||||
NOTE: This script should be run as the kohauser (the default is 'koha', this is the user we set up in step 2.3).
|
||||
|
||||
7.3 Schedule regular index updates
|
||||
You need to run rebuild_zebra.pl -b -a -z as a regular cron job in orde to pick up new bibs
|
||||
and items as you add them. Check misc/cronjobs/crontab.example for usage examples. See 7.0 above.
|
||||
NOTE: This job should be setup under the kohauser (the default is 'koha').
|
||||
NOTE: This job should be setup under the kohauser (the default is 'koha', this is the user we set up in step 2.3).
|
||||
|
||||
7.4 To enable public Z39.50/SRU servers, you'll need to edit your koha-conf.xml and
|
||||
change the <listen> options to listen on a TCP port; then restart the zebra daemon.
|
||||
|
|
@ -271,6 +322,7 @@ UPGRADE
|
|||
If you are upgrading from a previous installation of Koha 3, you can
|
||||
use the following:
|
||||
|
||||
./koha_perl_deps.pl -u -m # to identify new Perl dependencies
|
||||
perl Makefile.PL --prev-install-log /path/to/koha-install-log
|
||||
make
|
||||
make test
|
||||
|
|
@ -318,3 +370,4 @@ A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
|||
You should have received a copy of the GNU General Public License along with
|
||||
Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
|
||||
Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
|
|
|
|||
|
|
@ -239,7 +239,7 @@ UNICODE must be set up correctly before installing Koha.
|
|||
1.4.1 The Linux system is it configured to use UNICODE?
|
||||
|
||||
For more information:
|
||||
HYPERLINK "http://wiki.koha.org/doku.php?id=encodingscratchpad" http://wiki.koha.org/doku.php?id=encodingscratchpad
|
||||
HYPERLINK "http://wiki.koha-community.org/wiki/Encoding_and_Character_Sets_in_Koha" http://wiki.koha-community.org/wiki/Encoding_and_Character_Sets_in_Koha
|
||||
|
||||
To check, open a terminal window and type the locale.
|
||||
You must obtain:
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ Your locale should be set to UTF-8, as should Apache2 and MySQL 5.
|
|||
This step is VERY IMPORTANT for a UNICODE compliant system. Please
|
||||
read over the following document carefully:
|
||||
|
||||
http://wiki.koha.org/doku.php?id=encodingscratchpad
|
||||
http://wiki.koha-community.org/wiki/Encoding_and_Character_Sets_in_Koha
|
||||
|
||||
You can verify your system locale by typing the following command:
|
||||
|
||||
|
|
@ -156,6 +156,8 @@ When the configuration is completed CPAN will install the Perl modules.
|
|||
|
||||
/etc/perl/XML/SAX/ParserDetails.ini
|
||||
|
||||
You will need to move the entire section for '[XML::LibXML::SAX::Parser]' to the bottom of the ini file.
|
||||
|
||||
2.4 Install DBD::mysql Perl module
|
||||
|
||||
In order to handle UTF-8 correctly, Koha requires at least version 4.004
|
||||
|
|
@ -369,6 +371,7 @@ UPGRADE
|
|||
If you are upgrading from a previous installation of Koha 3, you can
|
||||
use the following:
|
||||
|
||||
./koha_perl_deps.pl -u -m # to identify new Perl dependencies
|
||||
perl Makefile.PL --prev-install-log /path/to/koha-install-log
|
||||
make
|
||||
make test
|
||||
|
|
|
|||
|
|
@ -0,0 +1,359 @@
|
|||
=============================
|
||||
Installation Guide for Installing Koha on Ubuntu Lucid Lynx (10.04 LTS) with MySQL 5
|
||||
=============================
|
||||
|
||||
Copyright (C) 2007, 2008 LibLime (http://liblime.com)
|
||||
Some parts copyright 2010 Chris Nighswonger
|
||||
|
||||
Original author: Joshua Ferraro
|
||||
Modified for Ubuntu by: Chris Nighswonger (cnighswonger AT foundations DOT edu)
|
||||
|
||||
Feedback/bug reports: Koha Developer's List:
|
||||
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
|
||||
|
||||
This document last modified: 11 Sep 2010
|
||||
|
||||
Installation Instructions
|
||||
=============================
|
||||
|
||||
All commands can be performed as a system user with sudo privileges,
|
||||
as indicated or by running the command directly as root.
|
||||
|
||||
1. Prepare System and Install Dependencies
|
||||
|
||||
1.1 Install Ubuntu Lucid Lynx via CD
|
||||
|
||||
See http://www.ubuntu.com/getubuntu/download
|
||||
|
||||
1.2 Set up your locale
|
||||
|
||||
Your locale should be set to UTF-8, as should Apache2 and MySQL 5.
|
||||
This step is VERY IMPORTANT for a UNICODE compliant system. Please
|
||||
read over the following document carefully:
|
||||
|
||||
http://wiki.koha-community.org/wiki/Encoding_and_Character_Sets_in_Koha
|
||||
|
||||
You can verify your system locale by typing the following command:
|
||||
|
||||
$ locale
|
||||
|
||||
IMPORTANT: You _MUST_ follow all the steps outlined there for
|
||||
Apache2, MySQL 5, etc. BEFORE you install Koha.
|
||||
|
||||
1.3 Get Koha
|
||||
|
||||
1.3.1 Option A: Download Koha via Git (optional)
|
||||
|
||||
$ sudo apt-get install git-core git-email
|
||||
$ git clone git://git.koha-community.org/pub/scm/koha.git kohaclone
|
||||
$ cd kohaclone
|
||||
$ git checkout -b myinstall origin
|
||||
|
||||
Note: for more information about Git, please see the Koha Git Usage Guide:
|
||||
|
||||
http://wiki.koha-community.org/wiki/Version_Control_Using_Git
|
||||
|
||||
1.3.2 Option B: Download Koha from http://download.koha-community.org
|
||||
|
||||
$ wget http://download.koha-community.org/koha-3.02.00.tar.gz
|
||||
( Note: use the latest stable version)
|
||||
|
||||
1.4 Install additional Ubuntu dependencies
|
||||
|
||||
IMPORTANT: You should only use CPAN for Perl dependencies which are NOT
|
||||
available from the package maintainer. You have been warned!
|
||||
|
||||
Using the ubuntu.packages file included in the Koha source tree,
|
||||
run the following:
|
||||
|
||||
$ sudo dpkg --set-selections < install_misc/ubuntu.packages
|
||||
|
||||
Now start dselect (you may need to 'sudo apt-get install dselect'):
|
||||
|
||||
$ sudo dselect
|
||||
|
||||
Choose [I]nstall and accept packages to be installed (hit return)
|
||||
|
||||
(may take a while)
|
||||
|
||||
Choose [C]onfigure, [R]emove and [Q]uit until dselect has completed.
|
||||
|
||||
Note: If you are installing on an older version of Ubuntu, not all of the
|
||||
packages listed in ubuntu.packages may be available as packages. You
|
||||
will want to verify which ones are installed and which ones not.
|
||||
This can be done by running the following command:
|
||||
|
||||
$ install_misc/ubuntu-pkg-check.sh | grep none
|
||||
|
||||
When tracking down any "(none)" results, note that sometimes Ubuntu does the
|
||||
right thing and installs a later, differently named version of the package in
|
||||
place. To see if this is happening, it is useful to run a command like:
|
||||
|
||||
$ dpkg --get-selections | grep [base_package_name]
|
||||
|
||||
1.5 Install Perl dependencies that aren't packaged into Ubuntu Lucid Lynx
|
||||
sources
|
||||
|
||||
Run the following command:
|
||||
|
||||
$ sudo cpan HTTP::OAI Locale::Currency::Format Memoize::Memcached \
|
||||
PDF::API2::Simple Storable Text::CSV::Encoded
|
||||
|
||||
Note: you may need to run CPAN initialization if you've not run cpan
|
||||
before:
|
||||
|
||||
/etc/perl/CPAN/Config.pm initialized.
|
||||
|
||||
CPAN is the world-wide archive of perl resources. It consists of about
|
||||
100 sites that all replicate the same contents all around the globe.
|
||||
Many countries have at least one CPAN site already. The resources
|
||||
found on CPAN are easily accessible with the CPAN.pm module. If you
|
||||
want to use CPAN.pm, you have to configure it properly.
|
||||
|
||||
If you do not want to enter a dialog now, you can answer 'no' to this
|
||||
question and I'll try to autoconfigure. (Note: you can revisit this
|
||||
dialog anytime later by typing 'o conf init' at the cpan prompt.)
|
||||
|
||||
Are you ready for manual configuration? [yes]
|
||||
|
||||
When the configuration is completed CPAN will install the Perl modules.
|
||||
|
||||
2. Configuration of dependencies
|
||||
|
||||
2.1 Update root MySQL password (if dselect didn't do it for you already)
|
||||
|
||||
$ sudo mysqladmin password <password>
|
||||
|
||||
2.2 Create the Koha database
|
||||
|
||||
Create the database and user with associated privileges:
|
||||
|
||||
$ mysqladmin -uroot -p<password> create <kohadatabasename>
|
||||
$ mysql -uroot -p<password>
|
||||
|
||||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||||
Your MySQL connection id is 22
|
||||
Server version: 5.0.32-Debian_7etch3-log Debian etch distribution
|
||||
|
||||
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
|
||||
|
||||
mysql> grant all on <kohadatabasename>.* to '<kohadatabaseuser>'@'localhost' identified by '<kohadatabaseuserpassword>';
|
||||
Query OK, 0 rows affected (0.00 sec)
|
||||
|
||||
mysql> flush privileges;
|
||||
Query OK, 0 rows affected (0.00 sec)
|
||||
|
||||
mysql> quit
|
||||
|
||||
2.3 Test your SAX Parser and correct where necessary
|
||||
|
||||
You must be sure you're using the XML::LibXML SAX parser, not Expat or
|
||||
PurePerl, both of which have outstanding bugs with pre-composed
|
||||
characters. You can test your SAX parser by running:
|
||||
|
||||
$ cd koha
|
||||
$ misc/sax_parser_print.pl
|
||||
|
||||
You should see something like::
|
||||
|
||||
XML::LibXML::SAX::Parser=HASH(0x81fe220)
|
||||
|
||||
If you're using PurePerl or Expat, you'll need to edit your
|
||||
ini file, typically located at:
|
||||
|
||||
/etc/perl/XML/SAX/ParserDetails.ini
|
||||
|
||||
You will need to move the entire section for '[XML::LibXML::SAX::Parser]'
|
||||
to the bottom of the ini file.
|
||||
|
||||
3. Run the Koha installer
|
||||
|
||||
$ perl Makefile.PL
|
||||
( answer questions )
|
||||
$ make
|
||||
$ make test
|
||||
$ sudo make install
|
||||
|
||||
4. Configure and start Apache
|
||||
$ sudo ln -s /etc/koha/koha-httpd.conf /etc/apache2/sites-available/koha
|
||||
(note that the path to koha-httpd.conf may be different depending on your
|
||||
installation choices)
|
||||
|
||||
Add the following lines to /etc/apache2/ports.conf:
|
||||
|
||||
Listen 80
|
||||
Listen 8080
|
||||
|
||||
If not running named virtual hosts (The default koha installation does not use
|
||||
named virtual hosts.), comment out the following line:
|
||||
|
||||
NameVirtualHost *:80
|
||||
|
||||
Run the following commands:
|
||||
|
||||
$ sudo a2enmod rewrite
|
||||
$ sudo a2ensite koha
|
||||
$ sudo apache2ctl restart
|
||||
|
||||
Note: you may still see the usual Apache default site if your VirtualHost
|
||||
configuration isn't correct. The command "sudo a2dissite default" may be a
|
||||
quick fix, but may have side-effects. See the Apache HTTPD manual section on
|
||||
virtual hosts for full instructions.
|
||||
|
||||
5. Configure and start Zebra
|
||||
|
||||
Note: it's recommended that you daemonize the Zebra process and add it to your
|
||||
startup profile. For a non-production test/development installation, running
|
||||
Zebra from the command line can be useful. Pick from the two available options
|
||||
below, or roll your own :-)
|
||||
|
||||
Note: it's also recommended that you create a Koha system user, which you will
|
||||
have specified during the install process. Alternatively, Zebra can be
|
||||
configured to run as the root user.
|
||||
|
||||
To add a user do:
|
||||
|
||||
$ sudo adduser koha
|
||||
|
||||
Option 1: run the Zebra processes from the command line:
|
||||
|
||||
1.1 Zebra Search Server
|
||||
|
||||
This process send responses to search requests sent by Koha or
|
||||
Z39.50/SRU/SRW clients.
|
||||
|
||||
$ sudo -u ${KOHA_USER} zebrasrv -f /etc/koha/koha-conf.xml
|
||||
(note that the path to koha-conf.xml may be different depending on your
|
||||
installation choices)
|
||||
|
||||
Note: the user you run Zebra as will be the only user with write permission
|
||||
on the Zebra index; in development mode, you may wish to use your
|
||||
system user.
|
||||
|
||||
1.2 Zebra Indexer
|
||||
|
||||
Added/updated/deleted records in Koha MySQL database must be indexed
|
||||
into Zebra. A specific script must be launched each time a bibliographic
|
||||
or an authority record is edited.
|
||||
|
||||
$ sudo -u ${KOHA_USER} misc/migration_tools/rebuild_zebra -z -b -a
|
||||
NOTE: This script should be run as the kohauser (the default is 'koha').
|
||||
|
||||
Option 2: run the Zebra process as a daemon, and add to startup process:
|
||||
|
||||
Note that references to $SCRIPT_DIR refer to the directory where
|
||||
Koha's command-line scripts are installed, e.g., /usr/share/koha/bin.
|
||||
|
||||
1.1 Zebra Search Server
|
||||
|
||||
$ sudo ln -s ${SCRIPT_DIR}/koha-zebra-ctl.sh /etc/init.d/koha-zebra-daemon
|
||||
(Note: ${SCRIPT_DIR} is /usr/share/koha/bin/ by default in a standard install)
|
||||
$ sudo update-rc.d koha-zebra-daemon defaults
|
||||
( Note: see man chkconfig(8) on other distros )
|
||||
|
||||
$ sudo ${SCRIPT_DIR}/koha-zebra-ctl.sh start
|
||||
|
||||
1.2 Zebra Indexer
|
||||
|
||||
Add an entry in Koha user crontab to scheduled added/updated/deleted records
|
||||
indexing by Zebra with this command:
|
||||
|
||||
<path/to/koha>/misc/migration_tools/rebuild_zebra -z -b -a
|
||||
|
||||
See check misc/cronjobs/crontab.example for usage examples.
|
||||
NOTE: This job should be setup under the kohauser (the default is 'koha').
|
||||
|
||||
6. Run the Web Installer, populate the database, initial configuration of settings
|
||||
|
||||
Point your browser to http://<servername>:8080/
|
||||
|
||||
It should redirect you to the Web Installer where you can continue the setup.
|
||||
You can install the sample data for libraries, patrons, etc. via the Web Installer
|
||||
|
||||
7. What next?
|
||||
|
||||
Once the installer has completed, you can import and index MARC records from the
|
||||
command line thusly (Note: you can also use the 'Stage MARC records for import' from
|
||||
the Tools area of Koha's Staff Client to import a batch of MARC records):
|
||||
|
||||
$ export KOHA_CONF=/usr/share/koha/etc/koha-conf.xml
|
||||
(note: use the correct path to your koha-conf.xml)
|
||||
|
||||
7.1 Import:
|
||||
Bibliographic data in MARC21 format
|
||||
$ misc/migration_tools/bulkmarcimport.pl -file /path/to/marc.iso2709
|
||||
Authority data in MARC21 format
|
||||
$ misc/migration_tools/bulkauthimport.pl -file /path/to/auth.iso2709
|
||||
|
||||
7.2 Fast Index:
|
||||
$ misc/migration_tools/rebuild_zebra.pl -b -w
|
||||
|
||||
Once the indexing has completed, you will be able to search for records in your system.
|
||||
NOTE: This script should be run as the kohauser (the default is 'koha').
|
||||
|
||||
7.3 Schedule regular index updates
|
||||
|
||||
You need to run rebuild_zebra.pl -b -a -z as a regular cron job in orde to pick up new bibs
|
||||
and items as you add them. Check misc/cronjobs/crontab.example for usage examples. See 7.0 above.
|
||||
NOTE: This job should be setup under the kohauser (the default is 'koha').
|
||||
|
||||
7.4 To enable public Z39.50/SRU servers, you'll need to edit your koha-conf.xml and
|
||||
change the <listen> options to listen on a TCP port; then restart the zebra daemon.
|
||||
|
||||
UPGRADE
|
||||
=======
|
||||
If you are upgrading from a previous installation of Koha 3, you can
|
||||
use the following:
|
||||
|
||||
./koha_perl_deps.pl -u -m # to identify new Perl dependencies
|
||||
perl Makefile.PL --prev-install-log /path/to/koha-install-log
|
||||
make
|
||||
make test
|
||||
sudo make upgrade
|
||||
|
||||
Uninstall Instructions
|
||||
=============================
|
||||
1) Stop Services:
|
||||
$ sudo a2dissite koha
|
||||
$ sudo rm /etc/apache2/sites-available/koha
|
||||
$ sudo apache2ctl restart
|
||||
|
||||
$ sudo update-rc.d koha-zebra-daemon remove
|
||||
$ sudo rm /etc/init.d/koha-zebra-daemon
|
||||
|
||||
2) Remove Database and Indexes
|
||||
|
||||
# MySQL
|
||||
$ mysql -u<kohauser> -p<kohapassword>
|
||||
> drop database koha;
|
||||
|
||||
# Zebra Indexes
|
||||
$ zebraidx -c <prefix>/etc/zebradb/zebra-biblios.cfg -g iso2709 -d biblios init
|
||||
$ zebraidx -c <prefix>/etc/zebradb/zebra-authorities.cfg -g iso2709 -d authorities init
|
||||
|
||||
3) Remove Koha Install Directories and Configuration Files
|
||||
Don't forget about any crontab entries
|
||||
|
||||
Tested on the following operating environments
|
||||
==============================================
|
||||
- Ubuntu Jaunty Jackalope 9.04
|
||||
|
||||
Installer Bug reports
|
||||
=====================
|
||||
Please log any installer bug reports at http://bugs.koha-community.org
|
||||
|
||||
Other Notes
|
||||
=====================
|
||||
This file is part of Koha
|
||||
|
||||
Koha is free software; you can redistribute it and/or modify it under the
|
||||
terms of the GNU General Public License as published by the Free Software
|
||||
Foundation; either version 2 of the License, or (at your option) any later
|
||||
version.
|
||||
|
||||
Koha is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
||||
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with Koha; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
|
@ -16,7 +16,6 @@
|
|||
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
#
|
||||
# Current maintainer MJR http://mjr.towers.org.uk/
|
||||
# See http://www.koha.org/wiki/?page=KohaInstaller
|
||||
#
|
||||
|
||||
use strict;
|
||||
|
|
@ -542,7 +541,7 @@ WriteMakefile(
|
|||
#VERSION => strftime('2.9.%Y%m%d%H',gmtime),
|
||||
VERSION_FROM => 'kohaversion.pl',
|
||||
ABSTRACT => 'Award-winning integrated library system (ILS) and Web OPAC',
|
||||
AUTHOR => 'Koha Developers <koha-devel@nongnu.org>',
|
||||
AUTHOR => 'Koha Contributors <http://koha-community.org/>',
|
||||
NO_META => 1,
|
||||
PREREQ_PM => $koha_pm->prereq_pm,
|
||||
|
||||
|
|
|
|||
|
|
@ -189,17 +189,18 @@ my $bibitemnum;
|
|||
if ( $orderinfo->{quantity} ne '0' ) {
|
||||
#TODO:check to see if biblio exists
|
||||
unless ( $$orderinfo{biblionumber} ) {
|
||||
|
||||
#if it doesnt create it
|
||||
my $record = TransformKohaToMarc(
|
||||
{
|
||||
"biblio.title" => "$$orderinfo{title}",
|
||||
"biblio.author" => "$$orderinfo{author}",
|
||||
"biblio.author" => $$orderinfo{author} ? $$orderinfo{author} : "",
|
||||
"biblio.seriestitle" => $$orderinfo{series} ? $$orderinfo{series} : "",
|
||||
"biblioitems.isbn" => $$orderinfo{isbn} ? $$orderinfo{isbn} : "",
|
||||
"biblioitems.publishercode" => $$orderinfo{publishercode} ? $$orderinfo{publishercode} : "",
|
||||
"biblioitems.publicationyear" => $$orderinfo{publicationyear} ? $$orderinfo{publicationyear}: "",
|
||||
"biblio.copyrightdate" => $$orderinfo{publicationyear} ? $$orderinfo{publicationyear}: "",
|
||||
});
|
||||
|
||||
# create the record in catalogue, with framework ''
|
||||
my ($biblionumber,$bibitemnum) = AddBiblio($record,'');
|
||||
# change suggestion status if applicable
|
||||
|
|
|
|||
|
|
@ -340,7 +340,7 @@ $template->param(
|
|||
orderexists => ( $new eq 'yes' ) ? 0 : 1,
|
||||
title => $data->{'title'},
|
||||
author => $data->{'author'},
|
||||
publicationyear => $data->{'publicationyear'},
|
||||
publicationyear => $data->{'publicationyear'} ? $data->{'publicationyear'} : $data->{'copyrightdate'},
|
||||
budget_loop => $budget_loop,
|
||||
isbn => $data->{'isbn'},
|
||||
seriestitle => $data->{'seriestitle'},
|
||||
|
|
|
|||
|
|
@ -54,6 +54,7 @@ my $author = $input->param('author');
|
|||
my $isbn = $input->param('isbn');
|
||||
my $issn = $input->param('issn');
|
||||
my $lccn = $input->param('lccn');
|
||||
my $lccall = $input->param('lccall');
|
||||
my $subject= $input->param('subject');
|
||||
my $dewey = $input->param('dewey');
|
||||
my $op = $input->param('op');
|
||||
|
|
@ -114,6 +115,7 @@ if ( $op ne "do_search" ) {
|
|||
isbn => $isbn,
|
||||
issn => $issn,
|
||||
lccn => $lccn,
|
||||
lccall => $lccall,
|
||||
title => $title,
|
||||
author => $author,
|
||||
serverloop => $serverloop,
|
||||
|
|
@ -158,6 +160,10 @@ else {
|
|||
$query .= " \@attr 1=9 $lccn ";
|
||||
$nterms++;
|
||||
}
|
||||
if ($lccall) {
|
||||
$query .= " \@attr 1=16 \@attr 2=3 \@attr 3=1 \@attr 4=1 \@attr 5=1 \@attr 6=1 \"$lccall\" ";
|
||||
$nterms++;
|
||||
}
|
||||
for my $i (1..$nterms-1) {
|
||||
$query = "\@and " . $query;
|
||||
}
|
||||
|
|
@ -248,7 +254,14 @@ sub displayresults {
|
|||
##Add necessary encoding changes to here -TG
|
||||
my $oldbiblio = TransformMarcToKoha( $dbh, $marcrecord, "" );
|
||||
$oldbiblio->{isbn} =~ s/ |-|\.//g if $oldbiblio->{isbn};
|
||||
$oldbiblio->{issn} =~ s/ |-|\.//g if $oldbiblio->{issn};
|
||||
# pad | and ( with spaces to allow line breaks in the HTML
|
||||
$oldbiblio->{isbn} =~ s/\|/ \| /g if $oldbiblio->{isbn};
|
||||
$oldbiblio->{isbn} =~ s/\(/ \(/g if $oldbiblio->{isbn};
|
||||
|
||||
$oldbiblio->{issn} =~ s/ |-|\.//g if $oldbiblio->{issn};
|
||||
# pad | and ( with spaces to allow line breaks in the HTML
|
||||
$oldbiblio->{issn} =~ s/\|/ \| /g if $oldbiblio->{issn};
|
||||
$oldbiblio->{issn} =~ s/\(/ \(/g if $oldbiblio->{issn};
|
||||
my (
|
||||
$notmarcrecord, $alreadyindb, $alreadyinfarm,
|
||||
$imported, $breedingid
|
||||
|
|
|
|||
|
|
@ -184,16 +184,17 @@ if ($op eq 'add_form') {
|
|||
$template->param(authorised_value_categories1 => \@auth_cats_loop1);
|
||||
$template->param(authorised_value_categories2 => \@auth_cats_loop2);
|
||||
|
||||
my $budget_perm_dropbox =
|
||||
GetBudgetPermDropbox($budget->{'budget_permission'});
|
||||
|
||||
if($budget->{'budget_permission'}){
|
||||
my $budget_permission = "budget_perm_".$budget->{'budget_permission'};
|
||||
$template->param($budget_permission => 1);
|
||||
}
|
||||
|
||||
# if no buget_id is passed then its an add
|
||||
$template->param(
|
||||
add_validate => 1,
|
||||
dateformat => C4::Dates->new()->visual(),
|
||||
budget_parent_id => $budget_parent->{'budget_id'},
|
||||
budget_parent_name => $budget_parent->{'budget_name'},
|
||||
budget_perm_dropbox => $budget_perm_dropbox,
|
||||
branchloop_select => \@branchloop_select,
|
||||
%$period,
|
||||
%$budget,
|
||||
|
|
|
|||
|
|
@ -95,7 +95,6 @@ my $show_actual = $input->param('show_actual');
|
|||
my $show_percent = $input->param('show_percent');
|
||||
my $output = $input->param("output");
|
||||
my $basename = $input->param("basename");
|
||||
my $mime = $input->param("MIME");
|
||||
my $del = $input->param("sep");
|
||||
|
||||
my $show_mine = $input->param('show_mine') ;
|
||||
|
|
@ -332,11 +331,10 @@ foreach my $n (@names) {
|
|||
# ------------------------------------------------------------
|
||||
# DEFAULT DISPLAY BEGINS
|
||||
|
||||
my @mime = ( C4::Context->preference("MIME") );
|
||||
my $CGIextChoice = CGI::scrolling_list(
|
||||
-name => 'MIME',
|
||||
-id => 'MIME',
|
||||
-values => \@mime,
|
||||
-values => ['CSV'], # FIXME translation
|
||||
-size => 1,
|
||||
-multiple => 0
|
||||
);
|
||||
|
|
|
|||
|
|
@ -46,8 +46,15 @@ my ($template, $loggedinuser, $cookie)
|
|||
# get framework list
|
||||
my $frameworks = getframeworks();
|
||||
my @frameworkloop;
|
||||
my $selected;
|
||||
my $frameworktext;
|
||||
foreach my $thisframeworkcode (keys %$frameworks) {
|
||||
my $selected = 1 if $thisframeworkcode eq $framework;
|
||||
if ($thisframeworkcode eq $framework){
|
||||
$selected = 1;
|
||||
$frameworktext = $frameworks->{$thisframeworkcode}->{'frameworktext'};
|
||||
} else {
|
||||
$selected = 0;
|
||||
}
|
||||
my %row =(value => $thisframeworkcode,
|
||||
selected => $selected,
|
||||
frameworktext => $frameworks->{$thisframeworkcode}->{'frameworktext'},
|
||||
|
|
@ -70,6 +77,7 @@ my $fieldloop = GetFieldMapping($framework);
|
|||
|
||||
$template->param( frameworkloop => \@frameworkloop,
|
||||
framework => $framework,
|
||||
frameworktext => $frameworktext,
|
||||
fields => $fieldloop,
|
||||
);
|
||||
|
||||
|
|
|
|||
|
|
@ -63,6 +63,8 @@ sub _get_chunk {
|
|||
|
||||
if ( $options{'class'} && $options{'class'} eq 'password' ) {
|
||||
$chunk->{'input_type'} = 'password';
|
||||
} elsif ( $options{'class'} && $options{'class'} eq 'date' ) {
|
||||
$chunk->{'dateinput'} = 1;
|
||||
} elsif ( $options{'type'} && ( $options{'type'} eq 'opac-languages' || $options{'type'} eq 'staff-languages' ) ) {
|
||||
my $current_languages = { map { +$_, 1 } split( /\s*,\s*/, $value ) };
|
||||
|
||||
|
|
@ -266,7 +268,8 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user(
|
|||
$lang = $template->param( 'lang' );
|
||||
my $op = $input->param( 'op' ) || '';
|
||||
my $tab = $input->param( 'tab' );
|
||||
$tab ||= 'local-use';
|
||||
$tab ||= 'acquisitions'; # Ideally this should be "local-use" but preferences.pl
|
||||
# does not presently support local use preferences
|
||||
|
||||
my $highlighted;
|
||||
|
||||
|
|
|
|||
|
|
@ -70,13 +70,11 @@ use YAML::Syck qw( Dump LoadFile );
|
|||
my %tabsysprefs;
|
||||
|
||||
# Acquisitions
|
||||
$tabsysprefs{acquisitions}="Acquisitions";
|
||||
$tabsysprefs{gist}="Acquisitions";
|
||||
$tabsysprefs{emailPurchaseSuggestions}="Acquisitions";
|
||||
$tabsysprefs{RenewSerialAddsSuggestion}="Acquisitions";
|
||||
$tabsysprefs{AcqCreateItem}="Acquisitions";
|
||||
$tabsysprefs{OrderPdfFormat}="Acquisitions";
|
||||
$tabsysprefs{OrderPdfTemplate}="Acquisitions";
|
||||
$tabsysprefs{CurrencyFormat}="Acquisitions";
|
||||
|
||||
# Admin
|
||||
|
|
@ -85,13 +83,11 @@ $tabsysprefs{staffClientBaseURL} = "Admin";
|
|||
$tabsysprefs{Version} = "Admin";
|
||||
$tabsysprefs{OpacMaintenance} = "Admin";
|
||||
$tabsysprefs{FrameworksLoaded} = "Admin";
|
||||
$tabsysprefs{libraryAddress} = "Admin";
|
||||
$tabsysprefs{delimiter} = "Admin";
|
||||
$tabsysprefs{IndependantBranches} = "Admin";
|
||||
$tabsysprefs{insecure} = "Admin";
|
||||
$tabsysprefs{KohaAdmin} = "Admin";
|
||||
$tabsysprefs{KohaAdminEmailAddress} = "Admin";
|
||||
$tabsysprefs{MIME} = "Admin";
|
||||
$tabsysprefs{timeout} = "Admin";
|
||||
$tabsysprefs{Intranet_includes} = "Admin";
|
||||
$tabsysprefs{AutoLocation} = "Admin";
|
||||
|
|
@ -108,18 +104,15 @@ $tabsysprefs{casLogout} = "Admin";
|
|||
$tabsysprefs{casServerUrl} = "Admin";
|
||||
$tabsysprefs{Disable_Dictionary} = "Admin";
|
||||
$tabsysprefs{EnableOpacSearchHistory} = "Admin";
|
||||
$tabsysprefs{'ILS-DI:AuthorizedIPs'} = "Admin";
|
||||
$tabsysprefs{Intranetbookbag} = "Admin";
|
||||
$tabsysprefs{maxitemsinSearchResults} = "Admin";
|
||||
$tabsysprefs{noOPACUserLogin} = "Admin";
|
||||
$tabsysprefs{'OAI-PMH:ConfFile'} = "Admin";
|
||||
$tabsysprefs{OpacAddMastheadLibraryPulldown} = "Admin";
|
||||
$tabsysprefs{opaclargeimage} = "Admin";
|
||||
$tabsysprefs{OpacPrivacy} = "Admin";
|
||||
$tabsysprefs{OPACXSLTDetailsDisplay} = "Admin";
|
||||
$tabsysprefs{OPACXSLTResultsDisplay} = "Admin";
|
||||
$tabsysprefs{PDFFontType} = "Admin";
|
||||
$tabsysprefs{PINESISBN} = "Admin";
|
||||
$tabsysprefs{PrintNoticesMaxLines} = "Admin";
|
||||
$tabsysprefs{ReservesControlBranch} = "Admin";
|
||||
$tabsysprefs{ResultsDisplay} = "Admin";
|
||||
|
|
@ -145,7 +138,6 @@ $tabsysprefs{IntranetBiblioDefaultView} = "Cataloging";
|
|||
$tabsysprefs{ISBD} = "Cataloging";
|
||||
$tabsysprefs{itemcallnumber} = "Cataloging";
|
||||
$tabsysprefs{LabelMARCView} = "Cataloging";
|
||||
$tabsysprefs{marc} = "Cataloging";
|
||||
$tabsysprefs{marcflavour} = "Cataloging";
|
||||
$tabsysprefs{MARCOrgCode} = "Cataloging";
|
||||
$tabsysprefs{z3950AuthorAuthFields} = "Cataloging";
|
||||
|
|
@ -184,7 +176,6 @@ $tabsysprefs{finesMode} = "Circulation";
|
|||
$tabsysprefs{numReturnedItemsToShow} = "Circulation";
|
||||
$tabsysprefs{emailLibrarianWhenHoldIsPlaced} = "Circulation";
|
||||
$tabsysprefs{globalDueDate} = "Circulation";
|
||||
$tabsysprefs{holdCancelLength} = "Circulation";
|
||||
$tabsysprefs{itemBarcodeInputFilter} = "Circulation";
|
||||
$tabsysprefs{WebBasedSelfCheck} = "Circulation";
|
||||
$tabsysprefs{ShowPatronImageInWebBasedSelfCheck} = "Circulation";
|
||||
|
|
@ -193,6 +184,7 @@ $tabsysprefs{finesCalendar} = "Circulation";
|
|||
$tabsysprefs{previousIssuesDefaultSortOrder} = "Circulation";
|
||||
$tabsysprefs{todaysIssuesDefaultSortOrder} = "Circulation";
|
||||
$tabsysprefs{HomeOrHoldingBranch} = "Circulation";
|
||||
$tabsysprefs{HomeOrHoldingBranchReturn} = "Circulation";
|
||||
$tabsysprefs{RandomizeHoldsQueueWeight} = "Circulation";
|
||||
$tabsysprefs{StaticHoldsQueueWeight} = "Circulation";
|
||||
$tabsysprefs{AllowOnShelfHolds} = "Circulation";
|
||||
|
|
@ -215,7 +207,6 @@ $tabsysprefs{OverduesBlockCirc} = "Circulation";
|
|||
|
||||
|
||||
# Staff Client
|
||||
$tabsysprefs{TemplateEncoding} = "StaffClient";
|
||||
$tabsysprefs{template} = "StaffClient";
|
||||
$tabsysprefs{intranetstylesheet} = "StaffClient";
|
||||
$tabsysprefs{IntranetNav} = "StaffClient";
|
||||
|
|
@ -269,7 +260,6 @@ $tabsysprefs{QueryFuzzy} = "Searching";
|
|||
$tabsysprefs{QueryStemming} = "Searching";
|
||||
$tabsysprefs{QueryWeightFields} = "Searching";
|
||||
$tabsysprefs{expandedSearchOption} = "Searching";
|
||||
$tabsysprefs{sortbynonfiling} = "Searching";
|
||||
$tabsysprefs{QueryAutoTruncate} = "Searching";
|
||||
$tabsysprefs{QueryRemoveStopwords} = "Searching";
|
||||
$tabsysprefs{AdvancedSearchTypes} = "Searching";
|
||||
|
|
@ -384,7 +374,6 @@ $tabsysprefs{AnonSuggestions} = "OPAC";
|
|||
$tabsysprefs{suggestion} = "OPAC";
|
||||
$tabsysprefs{OpacTopissue} = "OPAC";
|
||||
$tabsysprefs{OpacBrowser} = "OPAC";
|
||||
$tabsysprefs{kohaspsuggest} = "OPAC";
|
||||
$tabsysprefs{OpacRenewalAllowed} = "OPAC";
|
||||
$tabsysprefs{OPACItemHolds} = "OPAC";
|
||||
$tabsysprefs{OPACGroupResults} = "OPAC";
|
||||
|
|
@ -396,8 +385,6 @@ $tabsysprefs{OPACShowCheckoutName} = "OPAC";
|
|||
$tabsysprefs{RoutingListAddReserves} = "Serials";
|
||||
$tabsysprefs{OPACSerialIssueDisplayCount} = "Serials";
|
||||
$tabsysprefs{StaffSerialIssueDisplayCount} = "Serials";
|
||||
$tabsysprefs{OPACDisplayExtendedSubInfo} = "Serials";
|
||||
$tabsysprefs{OPACSubscriptionDisplay} = "Serials";
|
||||
$tabsysprefs{RenewSerialAddsSuggestion} = "Serials";
|
||||
$tabsysprefs{SubscriptionHistory} = "Serials";
|
||||
|
||||
|
|
@ -414,11 +401,10 @@ $tabsysprefs{FinesLog} = "Logs";
|
|||
$tabsysprefs{'OAI-PMH'} = "OAI-PMH";
|
||||
$tabsysprefs{'OAI-PMH:archiveID'} = "OAI-PMH";
|
||||
$tabsysprefs{'OAI-PMH:MaxCount'} = "OAI-PMH";
|
||||
$tabsysprefs{'OAI-PMH:Set'} = "OAI-PMH";
|
||||
$tabsysprefs{'OAI-PMH:Subset'} = "OAI-PMH";
|
||||
|
||||
# ILS-DI variables
|
||||
$tabsysprefs{'ILS-DI'} = "ILS-DI";
|
||||
$tabsysprefs{'ILS-DI:AuthorizedIPs'} = "Admin";
|
||||
|
||||
# Creator variables
|
||||
|
||||
|
|
@ -801,7 +787,7 @@ if ( $op eq 'add_form' ) {
|
|||
$row_data->{delete} = "$script_name?op=delete_confirm&searchfield=" . $results->[$i]{'variable'};
|
||||
push( @loop_data, $row_data );
|
||||
}
|
||||
$tab = ( $tab ? $tab : "Local Use" );
|
||||
$tab = ( $tab ? $tab : "local-use" );
|
||||
$template->param( loop => \@loop_data, $tab => 1 );
|
||||
if ( $offset > 0 ) {
|
||||
my $prevpage = $offset - $pagesize;
|
||||
|
|
|
|||
|
|
@ -161,8 +161,6 @@ elsif ( $op eq "delete" ) {
|
|||
}
|
||||
);
|
||||
|
||||
# $template->param("statements" => \@statements,
|
||||
# "nbstatements" => $nbstatements);
|
||||
}
|
||||
else {
|
||||
( $template, $loggedinuser, $cookie ) = get_template_and_user(
|
||||
|
|
|
|||
|
|
@ -90,30 +90,21 @@ my $itemcount = GetItemsCount($biblionumber);
|
|||
$template->param( count => $itemcount,
|
||||
bibliotitle => $biblio->{title}, );
|
||||
|
||||
#Getting the list of all frameworks
|
||||
my $queryfwk =
|
||||
$dbh->prepare("select frameworktext, frameworkcode from biblio_framework");
|
||||
$queryfwk->execute;
|
||||
my %select_fwk;
|
||||
my @select_fwk;
|
||||
my $curfwk;
|
||||
push @select_fwk, "Default";
|
||||
$select_fwk{"Default"} = "Default";
|
||||
|
||||
while ( my ( $description, $fwk ) = $queryfwk->fetchrow ) {
|
||||
push @select_fwk, $fwk;
|
||||
$select_fwk{$fwk} = $description;
|
||||
# Getting the list of all frameworks
|
||||
# get framework list
|
||||
my $frameworks = getframeworks;
|
||||
my @frameworkcodeloop;
|
||||
foreach my $thisframeworkcode ( keys %$frameworks ) {
|
||||
my %row = (
|
||||
value => $thisframeworkcode,
|
||||
frameworktext => $frameworks->{$thisframeworkcode}->{'frameworktext'},
|
||||
);
|
||||
if ($frameworkcode eq $thisframeworkcode){
|
||||
$row{'selected'}= 1;
|
||||
}
|
||||
push @frameworkcodeloop, \%row;
|
||||
}
|
||||
$curfwk=$frameworkcode;
|
||||
my $framework=CGI::scrolling_list( -name => 'Frameworks',
|
||||
-id => 'Frameworks',
|
||||
-default => $curfwk,
|
||||
-OnChange => 'Changefwk(this);',
|
||||
-values => \@select_fwk,
|
||||
-labels => \%select_fwk,
|
||||
-size => 1,
|
||||
-multiple => 0 );
|
||||
$template->param(framework => $framework);
|
||||
$template->param( frameworkcodeloop => \@frameworkcodeloop, );
|
||||
# fill arrays
|
||||
my @loop_data = ();
|
||||
my $tag;
|
||||
|
|
|
|||
|
|
@ -106,7 +106,7 @@ my $dat = &GetBiblioData($biblionumber);
|
|||
my $subscriptionsnumber = CountSubscriptionFromBiblionumber($biblionumber);
|
||||
my @subscriptions = GetSubscriptions( $dat->{title}, $dat->{issn}, $biblionumber );
|
||||
my @subs;
|
||||
$dat->{'serial'}=1 if $subscriptionsnumber;
|
||||
|
||||
foreach my $subscription (@subscriptions) {
|
||||
my %cell;
|
||||
my $serials_to_display;
|
||||
|
|
@ -212,7 +212,7 @@ $template->param(
|
|||
itemdata_enumchron => $itemfields{enumchron},
|
||||
itemdata_uri => $itemfields{uri},
|
||||
itemdata_copynumber => $itemfields{copynumber},
|
||||
volinfo => $itemfields{enumchron} || $dat->{'serial'} ,
|
||||
volinfo => $itemfields{enumchron},
|
||||
z3950_search_params => C4::Search::z3950_search_args($dat),
|
||||
C4::Search::enabled_staff_search_views,
|
||||
);
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@ use C4::Auth;
|
|||
use C4::Context;
|
||||
use C4::Output;
|
||||
use C4::Biblio;
|
||||
use C4::Items;
|
||||
use C4::Search; # enabled_staff_search_views
|
||||
|
||||
my $query = new CGI;
|
||||
|
|
@ -51,7 +52,10 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
|
|||
}
|
||||
);
|
||||
|
||||
$template->param( count => 1, bibliotitle => $biblio->{title} );
|
||||
#count of item linked
|
||||
my $itemcount = GetItemsCount($biblionumber);
|
||||
$template->param( count => $itemcount,
|
||||
bibliotitle => $biblio->{title}, );
|
||||
|
||||
#Getting the list of all frameworks
|
||||
my $queryfwk =
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
# $Id: showmarc.pl,v 1.1.2.1 2007/06/18 21:57:23 rangi Exp $
|
||||
|
||||
|
||||
# Koha library project www.koha.org
|
||||
# Koha library project www.koha-community.org
|
||||
|
||||
# Licensed under the GPL
|
||||
|
||||
|
|
|
|||
|
|
@ -299,7 +299,7 @@ sub create_input {
|
|||
}
|
||||
|
||||
# if there is no value provided but a default value in parameters, get it
|
||||
unless ($value) {
|
||||
if ( $value eq '' ) {
|
||||
$value = $tagslib->{$tag}->{$subfield}->{defaultvalue};
|
||||
|
||||
# get today date & replace YYYY, MM, DD if provided in the default value
|
||||
|
|
@ -1018,6 +1018,9 @@ elsif ( $op eq "delete" ) {
|
|||
}
|
||||
|
||||
$template->param( title => $record->title() ) if ( $record ne "-1" );
|
||||
if (C4::Context->preference("marcflavour") eq "MARC21"){
|
||||
$template->param(MARC21 => 1);
|
||||
}
|
||||
$template->param(
|
||||
popup => $mode,
|
||||
frameworkcode => $frameworkcode,
|
||||
|
|
|
|||
|
|
@ -33,6 +33,8 @@ use C4::Dates;
|
|||
|
||||
use MARC::File::XML;
|
||||
|
||||
my $dbh = C4::Context->dbh;
|
||||
|
||||
sub find_value {
|
||||
my ($tagfield,$insubfield,$record) = @_;
|
||||
my $result;
|
||||
|
|
@ -69,8 +71,27 @@ sub set_item_default_location {
|
|||
}
|
||||
}
|
||||
|
||||
# NOTE: This code is subject to change in the future with the implemenation of ajax based autobarcode code
|
||||
# NOTE: 'incremental' is the ONLY autoBarcode option available to those not using javascript
|
||||
sub _increment_barcode {
|
||||
my ($record, $frameworkcode) = @_;
|
||||
my ($tagfield,$tagsubfield) = &GetMarcFromKohaField("items.barcode",$frameworkcode);
|
||||
unless ($record->field($tagfield)->subfield($tagsubfield)) {
|
||||
my $sth_barcode = $dbh->prepare("select max(abs(barcode)) from items");
|
||||
$sth_barcode->execute;
|
||||
my ($newbarcode) = $sth_barcode->fetchrow;
|
||||
$newbarcode++;
|
||||
# OK, we have the new barcode, now create the entry in MARC record
|
||||
my $fieldItem = $record->field($tagfield);
|
||||
$record->delete_field($fieldItem);
|
||||
$fieldItem->add_subfields($tagsubfield => $newbarcode);
|
||||
$record->insert_fields_ordered($fieldItem);
|
||||
}
|
||||
return $record;
|
||||
}
|
||||
|
||||
|
||||
my $input = new CGI;
|
||||
my $dbh = C4::Context->dbh;
|
||||
my $error = $input->param('error');
|
||||
my $biblionumber = $input->param('biblionumber');
|
||||
my $itemnumber = $input->param('itemnumber');
|
||||
|
|
@ -126,22 +147,8 @@ if ($op eq "additem") {
|
|||
my $add_multiple_copies_submit = $input->param('add_multiple_copies_submit');
|
||||
my $number_of_copies = $input->param('number_of_copies');
|
||||
|
||||
# if autoBarcode is set to 'incremental', calculate barcode...
|
||||
# NOTE: This code is subject to change in 3.2 with the implemenation of ajax based autobarcode code
|
||||
# NOTE: 'incremental' is the ONLY autoBarcode option available to those not using javascript
|
||||
if (C4::Context->preference('autoBarcode') eq 'incremental') {
|
||||
my ($tagfield,$tagsubfield) = &GetMarcFromKohaField("items.barcode",$frameworkcode);
|
||||
unless ($record->field($tagfield)->subfield($tagsubfield)) {
|
||||
my $sth_barcode = $dbh->prepare("select max(abs(barcode)) from items");
|
||||
$sth_barcode->execute;
|
||||
my ($newbarcode) = $sth_barcode->fetchrow;
|
||||
$newbarcode++;
|
||||
# OK, we have the new barcode, now create the entry in MARC record
|
||||
my $fieldItem = $record->field($tagfield);
|
||||
$record->delete_field($fieldItem);
|
||||
$fieldItem->add_subfields($tagsubfield => $newbarcode);
|
||||
$record->insert_fields_ordered($fieldItem);
|
||||
}
|
||||
$record = _increment_barcode($record, $frameworkcode);
|
||||
}
|
||||
|
||||
my $addedolditem = TransformMarcToKoha($dbh,$record);
|
||||
|
|
@ -164,22 +171,18 @@ if ($op eq "additem") {
|
|||
|
||||
# If we have to add & duplicate
|
||||
if ($add_duplicate_submit) {
|
||||
|
||||
# We try to get the next barcode
|
||||
use C4::Barcodes;
|
||||
my $barcodeobj = C4::Barcodes->new;
|
||||
my $barcodevalue = $barcodeobj->next_value($addedolditem->{'barcode'}) if $barcodeobj;
|
||||
my ($tagfield,$tagsubfield) = &GetMarcFromKohaField("items.barcode",$frameworkcode);
|
||||
if ($record->field($tagfield)->subfield($tagsubfield)) {
|
||||
# If we got the next codebar value, we put it in the record
|
||||
if ($barcodevalue) {
|
||||
$record->field($tagfield)->update($tagsubfield => $barcodevalue);
|
||||
# If not, we delete the recently inserted barcode from the record (so the user can input a barcode himself)
|
||||
} else {
|
||||
$record->field($tagfield)->update($tagsubfield => '');
|
||||
}
|
||||
}
|
||||
$itemrecord = $record;
|
||||
if (C4::Context->preference('autoBarcode') eq 'incremental') {
|
||||
$itemrecord = _increment_barcode($itemrecord, $frameworkcode);
|
||||
}
|
||||
else {
|
||||
# we have to clear the barcode field in the duplicate item record to make way for the new one generated by the javascript plugin
|
||||
my ($tagfield,$tagsubfield) = &GetMarcFromKohaField("items.barcode",$frameworkcode);
|
||||
my $fieldItem = $itemrecord->field($tagfield);
|
||||
$itemrecord->delete_field($fieldItem);
|
||||
$fieldItem->delete_subfields($tagsubfield);
|
||||
$itemrecord->insert_fields_ordered($fieldItem);
|
||||
}
|
||||
}
|
||||
|
||||
# If we have to add multiple copies
|
||||
|
|
@ -266,7 +269,10 @@ if ($op eq "additem") {
|
|||
my $items = &GetItemsByBiblioitemnumber($biblioitem->{biblioitemnumber});
|
||||
|
||||
foreach my $item (@$items){
|
||||
&DelItem($dbh,$biblionumber,$item->{itemnumber});
|
||||
# FIXME although it won't delete items that have loans
|
||||
# or waiting holds on them, should explicitly tell operator
|
||||
# about items that are not deleted
|
||||
&DelItemCheck($dbh,$biblionumber,$item->{itemnumber});
|
||||
}
|
||||
}
|
||||
#-------------------------------------------------------------------------------
|
||||
|
|
@ -433,7 +439,10 @@ foreach my $tag (sort keys %{$tagslib}) {
|
|||
foreach my $thisbranch (@$branches) {
|
||||
push @authorised_values, $thisbranch->{value};
|
||||
$authorised_lib{$thisbranch->{value}} = $thisbranch->{branchname};
|
||||
# $value = $thisbranch->{value} if $thisbranch->{selected};
|
||||
# in edit item this is set to the data value otherwise use default
|
||||
if ($op ne 'edititem' && $thisbranch->{selected} ) {
|
||||
$value = $thisbranch->{value};
|
||||
}
|
||||
}
|
||||
}
|
||||
elsif ( $tagslib->{$tag}->{$subfield}->{authorised_value} eq "itemtypes" ) {
|
||||
|
|
|
|||
|
|
@ -108,7 +108,7 @@ sub plugin {
|
|||
= get_template_and_user({template_name => "value_builder/labs_theses.tmpl",
|
||||
query => $query,
|
||||
type => 'intranet',
|
||||
authnotrequired => 1,
|
||||
authnotrequired => 0,
|
||||
debug => 1,
|
||||
});
|
||||
|
||||
|
|
@ -165,7 +165,7 @@ sub plugin {
|
|||
= get_template_and_user({template_name => "value_builder/labs_theses.tmpl",
|
||||
query => $query,
|
||||
type => "intranet",
|
||||
authnotrequired => 1,
|
||||
authnotrequired => 0,
|
||||
});
|
||||
|
||||
$template->param(
|
||||
|
|
|
|||
|
|
@ -345,7 +345,7 @@ sub plugin {
|
|||
"cataloguing/value_builder/unimarc_field_4XX.tmpl",
|
||||
query => $query,
|
||||
type => 'intranet',
|
||||
authnotrequired => 1,
|
||||
authnotrequired => 0,
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
|
@ -463,7 +463,7 @@ sub plugin {
|
|||
"cataloguing/value_builder/unimarc_field_4XX.tmpl",
|
||||
query => $query,
|
||||
type => "intranet",
|
||||
authnotrequired => 1,
|
||||
authnotrequired => 0,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
|||
|
|
@ -41,6 +41,7 @@ my $author = $input->param('author');
|
|||
my $isbn = $input->param('isbn');
|
||||
my $issn = $input->param('issn');
|
||||
my $lccn = $input->param('lccn');
|
||||
my $lccall = $input->param('lccall');
|
||||
my $subject = $input->param('subject');
|
||||
my $dewey = $input->param('dewey');
|
||||
my $controlnumber = $input->param('controlnumber');
|
||||
|
|
@ -88,6 +89,7 @@ if ( $op ne "do_search" ) {
|
|||
isbn => $isbn,
|
||||
issn => $issn,
|
||||
lccn => $lccn,
|
||||
lccall => $lccall,
|
||||
title => $title,
|
||||
author => $author,
|
||||
controlnumber=> $controlnumber,
|
||||
|
|
@ -136,6 +138,10 @@ else {
|
|||
$query .= " \@attr 1=9 $lccn ";
|
||||
$nterms++;
|
||||
}
|
||||
if ($lccall) {
|
||||
$query .= " \@attr 1=16 \@attr 2=3 \@attr 3=1 \@attr 4=1 \@attr 5=1 \@attr 6=1 \"$lccall\" ";
|
||||
$nterms++;
|
||||
}
|
||||
if ($controlnumber) {
|
||||
$query .= " \@attr 1=12 \"$controlnumber\" ";
|
||||
$nterms++;
|
||||
|
|
@ -231,8 +237,15 @@ warn "query ".$query if $DEBUG;
|
|||
# In rel2_2 i am not sure what encoding is so no character conversion is done here
|
||||
##Add necessary encoding changes to here -TG
|
||||
my $oldbiblio = TransformMarcToKoha( $dbh, $marcrecord, "" );
|
||||
$oldbiblio->{isbn} =~ s/ |-|\.//g,
|
||||
$oldbiblio->{issn} =~ s/ |-|\.//g,
|
||||
$oldbiblio->{isbn} =~ s/ |-|\.//g if $oldbiblio->{isbn};
|
||||
# pad | and ( with spaces to allow line breaks in the HTML
|
||||
$oldbiblio->{isbn} =~ s/\|/ \| /g if $oldbiblio->{isbn};
|
||||
$oldbiblio->{isbn} =~ s/\(/ \(/g if $oldbiblio->{isbn};
|
||||
|
||||
$oldbiblio->{issn} =~ s/ |-|\.//g if $oldbiblio->{issn};
|
||||
# pad | and ( with spaces to allow line breaks in the HTML
|
||||
$oldbiblio->{issn} =~ s/\|/ \| /g if $oldbiblio->{issn};
|
||||
$oldbiblio->{issn} =~ s/\(/ \(/g if $oldbiblio->{issn};
|
||||
my (
|
||||
$notmarcrecord, $alreadyindb, $alreadyinfarm,
|
||||
$imported, $breedingid
|
||||
|
|
|
|||
|
|
@ -413,9 +413,7 @@ my $todaysissues = '';
|
|||
my $previssues = '';
|
||||
my @todaysissues;
|
||||
my @previousissues;
|
||||
## ADDED BY JF: new itemtype issuingrules counter stuff
|
||||
my $issued_itemtypes_count;
|
||||
my @issued_itemtypes_count_loop;
|
||||
|
||||
my $totalprice = 0;
|
||||
|
||||
if ($borrower) {
|
||||
|
|
@ -449,8 +447,6 @@ if ($borrower) {
|
|||
$it->{'od'} = ( $it->{'date_due'} lt $todaysdate ) ? 1 : 0 ;
|
||||
($it->{'author'} eq '') and $it->{'author'} = ' ';
|
||||
$it->{'renew_failed'} = $renew_failed{$it->{'itemnumber'}};
|
||||
# ADDED BY JF: NEW ITEMTYPE COUNT DISPLAY
|
||||
$issued_itemtypes_count->{ $it->{'itemtype'} }++;
|
||||
|
||||
if ( $todaysdate eq $it->{'issuedate'} or $todaysdate eq $it->{'lastreneweddate'} ) {
|
||||
push @todaysissues, $it;
|
||||
|
|
@ -472,38 +468,6 @@ if ($borrower) {
|
|||
}
|
||||
}
|
||||
|
||||
#### ADDED BY JF FOR COUNTS BY ITEMTYPE RULES
|
||||
# FIXME: This should utilize all the issuingrules options rather than just the defaults
|
||||
# and it should be moved to a module
|
||||
my $dbh = C4::Context->dbh;
|
||||
|
||||
# how many of each is allowed?
|
||||
my $issueqty_sth = $dbh->prepare(
|
||||
'SELECT itemtypes.description AS description,issuingrules.itemtype,maxissueqty ' .
|
||||
'FROM issuingrules LEFT JOIN itemtypes ON (itemtypes.itemtype=issuingrules.itemtype) ' .
|
||||
'WHERE categorycode=?'
|
||||
);
|
||||
$issueqty_sth->execute(q{*}); # This is a literal asterisk, not a wildcard.
|
||||
|
||||
while ( my $data = $issueqty_sth->fetchrow_hashref() ) {
|
||||
|
||||
# subtract how many of each this borrower has
|
||||
$data->{'count'} = $issued_itemtypes_count->{ $data->{'description'} };
|
||||
$data->{'left'} =
|
||||
( $data->{'maxissueqty'} -
|
||||
$issued_itemtypes_count->{ $data->{'description'} } );
|
||||
|
||||
# can't have a negative number of remaining
|
||||
if ( $data->{'left'} < 0 ) { $data->{'left'} = '0' }
|
||||
if ( $data->{maxissueqty} <= $data->{count} ) {
|
||||
$data->{flag} = 1;
|
||||
}
|
||||
if ( $data->{maxissueqty} > 0 && $data->{itemtype} !~m/^(\*|CIRC)$/ ) {
|
||||
push @issued_itemtypes_count_loop, $data;
|
||||
}
|
||||
}
|
||||
|
||||
#### / JF
|
||||
|
||||
my @values;
|
||||
my %labels;
|
||||
|
|
@ -646,7 +610,6 @@ my (undef, $roadttype_hashref) = &GetRoadTypes();
|
|||
my $address = $borrower->{'streetnumber'}.' '.$roadttype_hashref->{$borrower->{'streettype'}}.' '.$borrower->{'address'};
|
||||
|
||||
$template->param(
|
||||
issued_itemtypes_count_loop => \@issued_itemtypes_count_loop,
|
||||
lib_messages_loop => $lib_messages_loop,
|
||||
bor_messages_loop => $bor_messages_loop,
|
||||
all_messages_del => C4::Context->preference('AllowAllMessageDeletion'),
|
||||
|
|
@ -700,15 +663,8 @@ my ($picture, $dberror) = GetPatronImage($borrower->{'cardnumber'});
|
|||
$template->param( picture => 1 ) if $picture;
|
||||
|
||||
# get authorised values with type of BOR_NOTES
|
||||
my @canned_notes;
|
||||
my $sth = $dbh->prepare('SELECT * FROM authorised_values WHERE category = "BOR_NOTES"');
|
||||
$sth->execute();
|
||||
while ( my $row = $sth->fetchrow_hashref() ) {
|
||||
push @canned_notes, $row;
|
||||
}
|
||||
if ( scalar( @canned_notes ) ) {
|
||||
$template->param( canned_bor_notes_loop => \@canned_notes );
|
||||
}
|
||||
|
||||
my $canned_notes = GetAuthorisedValues("BOR_NOTES");
|
||||
|
||||
$template->param(
|
||||
debt_confirmed => $debt_confirmed,
|
||||
|
|
@ -717,5 +673,6 @@ $template->param(
|
|||
AllowRenewalLimitOverride => C4::Context->preference("AllowRenewalLimitOverride"),
|
||||
dateformat => C4::Context->preference("dateformat"),
|
||||
DHTMLcalendar_dateformat => C4::Dates->DHTMLcalendar(),
|
||||
canned_bor_notes_loop => $canned_notes,
|
||||
);
|
||||
output_html_with_http_headers $query, $cookie, $template->output;
|
||||
|
|
|
|||
|
|
@ -208,6 +208,7 @@ if ($barcode) {
|
|||
#
|
||||
( $returned, $messages, $issueinformation, $borrower ) =
|
||||
AddReturn( $barcode, $userenv_branch, $exemptfine, $dropboxmode); # do the return
|
||||
my $homeorholdingbranchreturn = C4::Context->preference('HomeOrHoldingBranchReturn') or 'homebranch';
|
||||
|
||||
# get biblio description
|
||||
my $biblio = GetBiblioFromItemNumber($itemnumber);
|
||||
|
|
@ -217,7 +218,7 @@ if ($barcode) {
|
|||
$template->param(
|
||||
title => $biblio->{'title'},
|
||||
homebranch => $biblio->{'homebranch'},
|
||||
homebranchname => GetBranchName( $biblio->{'homebranch'} ),
|
||||
homebranchname => GetBranchName( $biblio->{$homeorholdingbranchreturn} ),
|
||||
author => $biblio->{'author'},
|
||||
itembarcode => $biblio->{'barcode'},
|
||||
itemtype => $biblio->{'itemtype'},
|
||||
|
|
@ -554,16 +555,20 @@ $template->param(
|
|||
soundon => C4::Context->preference("SoundOn"),
|
||||
);
|
||||
|
||||
my $itemnumber = GetItemnumberFromBarcode( $query->param('barcode') );
|
||||
if ( $itemnumber ) {
|
||||
my ( $holdingBranch, $collectionBranch ) = GetCollectionItemBranches( $itemnumber );
|
||||
if ( ! ( $holdingBranch eq $collectionBranch ) ) {
|
||||
$template->param(
|
||||
collectionItemNeedsTransferred => 1,
|
||||
collectionBranch => GetBranchName($collectionBranch),
|
||||
);
|
||||
}
|
||||
}
|
||||
### Comment out rotating collections for now to allow it a little more time to bake
|
||||
### for 3.4; in particular, must ensure that it doesn't fight with transfers required
|
||||
### to fill hold requests
|
||||
### -- Galen Charlton 2010-10-06
|
||||
#my $itemnumber = GetItemnumberFromBarcode( $query->param('barcode') );
|
||||
#if ( $itemnumber ) {
|
||||
# my ( $holdingBranch, $collectionBranch ) = GetCollectionItemBranches( $itemnumber );
|
||||
# if ( ! ( $holdingBranch eq $collectionBranch ) ) {
|
||||
# $template->param(
|
||||
# collectionItemNeedsTransferred => 1,
|
||||
# collectionBranch => GetBranchName($collectionBranch),
|
||||
# );
|
||||
# }
|
||||
#}
|
||||
|
||||
# actually print the page!
|
||||
output_html_with_http_headers $query, $cookie, $template->output;
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ latest_sha1() {
|
|||
}
|
||||
|
||||
newversion() {
|
||||
printf '3.2~git%s.%s' $(date +%Y%m%d%H%M%S) $(latest_sha1)
|
||||
printf '3.2.0-2~git%s.%s' $(date +%Y%m%d%H%M%S) $(latest_sha1)
|
||||
}
|
||||
|
||||
adjust_debian_changelog() {
|
||||
|
|
@ -46,7 +46,7 @@ reset_debian_changelog() {
|
|||
build_package() {
|
||||
git archive --format=tar --prefix="koha-$1/" HEAD |
|
||||
gzip -9 > "../koha_$1.tar.gz"
|
||||
pdebuild
|
||||
pdebuild $2
|
||||
}
|
||||
|
||||
if ! everything_is_commited
|
||||
|
|
@ -55,6 +55,10 @@ then
|
|||
fi
|
||||
|
||||
version="$(newversion)"
|
||||
if [ -n "$1" ]
|
||||
then
|
||||
pdebuildopts="--buildresult $1"
|
||||
fi
|
||||
adjust_debian_changelog "$version"
|
||||
build_package "$version"
|
||||
build_package "$version" "$pdebuildopts"
|
||||
reset_debian_changelog
|
||||
|
|
|
|||
|
|
@ -1,3 +1,9 @@
|
|||
koha (3.2.0-1) squeeze; urgency=low
|
||||
|
||||
* New upstream release.
|
||||
|
||||
-- Robin Sheat <robin@catalyst.net.nz> Fri, 22 Oct 2010 13:04:42 +1300
|
||||
|
||||
koha (3.2~0.2) experimental; urgency=low
|
||||
|
||||
* Add notes about README.Debian to package description and postinst output.
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ Standards-Version: 3.8.4
|
|||
Build-Depends: libalgorithm-checkdigits-perl,
|
||||
libauthen-cas-client-perl,
|
||||
libbiblio-endnotestyle-perl,
|
||||
libbusiness-isbn-perl,
|
||||
libcgi-pm-perl | perl-modules,
|
||||
libcgi-session-perl,
|
||||
libcgi-session-serialize-yaml-perl,
|
||||
|
|
@ -45,6 +46,7 @@ Build-Depends: libalgorithm-checkdigits-perl,
|
|||
libmemoize-memcached-perl,
|
||||
libmime-lite-perl,
|
||||
libnet-ldap-perl,
|
||||
libnet-server-perl,
|
||||
libnet-z3950-zoom-perl,
|
||||
libnumber-format-perl,
|
||||
libpdf-api2-perl,
|
||||
|
|
@ -56,12 +58,12 @@ Build-Depends: libalgorithm-checkdigits-perl,
|
|||
libscalar-list-utils-perl,
|
||||
libschedule-at-perl,
|
||||
libsms-send-perl,
|
||||
libtest-harness-perl | perl-modules,
|
||||
libtest-simple-perl | perl-modules,
|
||||
libtext-csv-encoded-perl,
|
||||
libtext-csv-perl,
|
||||
libtext-csv-xs-perl,
|
||||
libtext-iconv-perl,
|
||||
libuniversal-require-perl,
|
||||
liburi-perl,
|
||||
libwww-perl,
|
||||
libxml-dumper-perl,
|
||||
|
|
@ -88,6 +90,7 @@ Depends: ${misc:Depends}, ${koha:Depends},
|
|||
libjs-jquery,
|
||||
libjs-yui,
|
||||
mysql-client,
|
||||
pwgen,
|
||||
tinymce2,
|
||||
yaz
|
||||
Suggests: mysql-server
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
Source: koha
|
||||
Maintainer: Lars Wirzenius <lars@catalyst.net.nz>
|
||||
Maintainer: Robin Sheat <robin@catalyst.net.nz>
|
||||
Section: web
|
||||
Priority: optional
|
||||
Standards-Version: 3.8.4
|
||||
|
|
@ -20,6 +20,7 @@ Depends: ${misc:Depends}, ${koha:Depends},
|
|||
libjs-jquery,
|
||||
libjs-yui,
|
||||
mysql-client,
|
||||
pwgen,
|
||||
tinymce2,
|
||||
yaz
|
||||
Suggests: mysql-server
|
||||
|
|
|
|||
|
|
@ -33,6 +33,8 @@ The Debian packaging of Koha puts files in the following places:
|
|||
|
||||
* /etc/koha -- system configuration files
|
||||
* /etc/cron.hourly/koha-common -- cron job
|
||||
* /etc/cron.daily/koha-common -- cron job
|
||||
* /etc/cron.d/koha-common -- cron job
|
||||
* /usr/share/koha -- shared files (HTML templates, Perl code, etc)
|
||||
|
||||
Each Koha instance has files in the following places:
|
||||
|
|
|
|||
|
|
@ -7,3 +7,4 @@ SHELL=/bin/sh
|
|||
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
|
||||
|
||||
*/5 * * * * root test -x /usr/sbin/koha-rebuild-zebra && koha-rebuild-zebra $(koha-list --enabled)
|
||||
*/15 * * * * root koha-foreach --enabled --email /usr/share/koha/bin/cronjobs/process_message_queue.pl
|
||||
|
|
|
|||
|
|
@ -0,0 +1,24 @@
|
|||
#!/bin/sh
|
||||
# /etc/cron.daily/koha-common -- Daily housekeeping tasks for all Kohas.
|
||||
# Copyright 2010 Catalyst IT, Ltd
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
koha-foreach --enabled --email /usr/share/koha/bin/cronjobs/overdue_notices.pl -t
|
||||
koha-foreach --enabled /usr/share/koha/bin/cronjobs/fines.pl
|
||||
koha-foreach --enabled --email /usr/share/koha/bin/cronjobs/advance_notices.pl -c
|
||||
koha-foreach --enabled /usr/share/koha/bin/cronjobs/holds/cancel_expired_holds.pl >/dev/null 2>&1
|
||||
koha-foreach --enabled /usr/share/koha/bin/cronjobs/services_throttle.pl > /dev/null 2>&1
|
||||
koha-foreach --enabled /usr/share/koha/bin/cronjobs/cleanup_database.pl --sessions --zebraqueue 10
|
||||
koha-foreach --enabled --noemail /usr/share/koha/bin/cronjobs/cleanup_database.pl --mail
|
||||
|
|
@ -3,7 +3,7 @@ debian/tmp/usr/* usr
|
|||
debian/tmp/etc/koha/pazpar2
|
||||
debian/tmp/etc/koha/zebradb/[!z]*
|
||||
debian/templates/* etc/koha
|
||||
debian/koha-post-install-setup usr/sbin
|
||||
debian/koha-post-install-setup usr/sbin
|
||||
debian/unavailable.html usr/share/koha/intranet/htdocs
|
||||
debian/unavailable.html usr/share/koha/opac/htdocs
|
||||
debian/templates/* etc/koha
|
||||
|
|
@ -12,6 +12,8 @@ debian/scripts/koha-create-dirs usr/sbin
|
|||
debian/scripts/koha-disable usr/sbin
|
||||
debian/scripts/koha-dump usr/sbin
|
||||
debian/scripts/koha-dump-defaults usr/sbin
|
||||
debian/scripts/koha-email-disable usr/sbin
|
||||
debian/scripts/koha-email-enable usr/sbin
|
||||
debian/scripts/koha-enable usr/sbin
|
||||
debian/scripts/koha-foreach usr/sbin
|
||||
debian/scripts/koha-list usr/sbin
|
||||
|
|
|
|||
|
|
@ -117,6 +117,7 @@ then
|
|||
fi
|
||||
adduser --no-create-home --disabled-login \
|
||||
--gecos "Koha instance $username" \
|
||||
--home "/var/lib/koha/$name" \
|
||||
--quiet "$username"
|
||||
|
||||
# Create the site-specific directories.
|
||||
|
|
@ -233,3 +234,9 @@ if [ "$op" = request ]
|
|||
then
|
||||
koha-disable "$name"
|
||||
fi
|
||||
|
||||
echo <<eoh
|
||||
|
||||
Email for this instance is disabled. When you're ready to enable it, use:
|
||||
koha-email-enable $name
|
||||
eoh
|
||||
|
|
|
|||
|
|
@ -0,0 +1,36 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# koha-email-disable -- turn off the email for a Koha instance
|
||||
# Copyright 2010 Catalyst IT, Ltd
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
set -e
|
||||
|
||||
if [ "$#" = 0 ]
|
||||
then
|
||||
echo "Disables the email for a koha instance." 1>&2
|
||||
echo "Usage: $0 instancename..." 1>&2
|
||||
exit 1
|
||||
fi
|
||||
libdir=/var/lib/koha
|
||||
for name in "$@"
|
||||
do
|
||||
if [ ! -d $libdir/$name ]
|
||||
then
|
||||
echo "$0: no koha instance \"$name\"" 1>&2
|
||||
continue
|
||||
fi
|
||||
rm -f $libdir/$name/email.enabled
|
||||
done
|
||||
|
|
@ -0,0 +1,36 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# koha-email-enable -- turn on the email for a Koha instance
|
||||
# Copyright 2010 Catalyst IT, Ltd
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
set -e
|
||||
|
||||
if [ "$#" = 0 ]
|
||||
then
|
||||
echo "Enables email for a koha instance." 1>&2
|
||||
echo "Usage: $0 instancename..." 1>&2
|
||||
exit 1
|
||||
fi
|
||||
libdir=/var/lib/koha
|
||||
for name in "$@"
|
||||
do
|
||||
if [ ! -d $libdir/$name ]
|
||||
then
|
||||
echo "$0: no koha instance \"$name\"" 1>&2
|
||||
continue
|
||||
fi
|
||||
touch $libdir/$name/email.enabled
|
||||
done
|
||||
|
|
@ -18,15 +18,18 @@
|
|||
|
||||
set -e
|
||||
|
||||
|
||||
listopts=""
|
||||
if [ "$1" = --enabled ]
|
||||
then
|
||||
listopts="--enabled"
|
||||
while [ ! -z "$1" ]
|
||||
do
|
||||
case "$1" in
|
||||
--email) listopts="$listopts --email";;
|
||||
--noemail) listopts="$listopts --noemail";;
|
||||
--enabled) listopts="$listopts --enabled";;
|
||||
*) break;;
|
||||
esac
|
||||
shift
|
||||
fi
|
||||
|
||||
|
||||
done
|
||||
|
||||
for name in $(koha-list $listopts)
|
||||
do
|
||||
sudo -u "$name-koha" \
|
||||
|
|
|
|||
|
|
@ -29,19 +29,46 @@ is_enabled() {
|
|||
fi
|
||||
}
|
||||
|
||||
all=yes
|
||||
if [ "$1" = --enabled ]
|
||||
then
|
||||
help() {
|
||||
echo <<eoh
|
||||
Lists Koha instances, optionally only those that are enabled or have
|
||||
email turned on.
|
||||
|
||||
Usage: $0 [--enabled] [--email] [-h]
|
||||
Options:
|
||||
--enabled only show instances that are enabled
|
||||
--email only show instances that have email enabled
|
||||
--noemail only show instances that do not have email enabled
|
||||
-h this help
|
||||
|
||||
The filtering options can be combined, and you probably want to do this
|
||||
(except --email and --noemail, that's just silly.)
|
||||
eoh
|
||||
}
|
||||
|
||||
enabled=no
|
||||
email=no
|
||||
noemail=no
|
||||
args=$(getopt -l enabled,email,noemail -o h -n $0 -- "$@")
|
||||
set -- $args
|
||||
while [ ! -z "$1" ]
|
||||
do
|
||||
case "$1" in
|
||||
-h) help; exit;;
|
||||
--email) email=yes;;
|
||||
--enabled) enabled=yes;;
|
||||
--noemail) noemail=yes;;
|
||||
*) break;;
|
||||
esac
|
||||
shift
|
||||
all=no
|
||||
fi
|
||||
done
|
||||
|
||||
find /etc/koha/sites -mindepth 1 -maxdepth 1 -type d -printf '%f\n' |
|
||||
sort |
|
||||
while read name
|
||||
do
|
||||
if [ "$all" = yes ] || is_enabled "$name"
|
||||
then
|
||||
echo "$name"
|
||||
fi
|
||||
[ "$enabled" = yes ] && ! is_enabled "$name" && continue
|
||||
[ "$email" = yes ] && [ ! -e /var/lib/koha/$name/email.enabled ] && continue
|
||||
[ "$noemail" = yes ] && [ -e /var/lib/koha/$name/email.enabled ] && continue
|
||||
echo "$name"
|
||||
done
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ fi
|
|||
|
||||
for name in "$@"
|
||||
do
|
||||
sudo -u "$name-koha" \
|
||||
sudo -u "$name-koha" -H \
|
||||
env PERL5LIB=/usr/share/koha/lib \
|
||||
KOHA_CONF="/etc/koha/sites/$name/koha-conf.xml" \
|
||||
/usr/share/koha/bin/migration_tools/rebuild_zebra.pl -b -a $opts
|
||||
|
|
|
|||
180
docs/history.txt
180
docs/history.txt
|
|
@ -132,7 +132,7 @@ April 12 2003 Koha 1.9.2 released
|
|||
April 16 2003 Paul Poulain presents on Koha at "Open Source Software in Libraries" at enssib (the French National School for librarians - www.enssib.fr)
|
||||
May 3 2003 Dorian Meid translate the opac into German translation, german
|
||||
May 9 2003 Ingrid resigns as QA manager
|
||||
May 6 2003 software.coop (then TTLLP) offer Koha support
|
||||
May 6 2003 software.coop (as TTLLP) publicly offer Koha support
|
||||
May 15 2003 Pat Eyler, Steve Tonnesen and Chris Cormack add RSS support to Koha
|
||||
May 21 2003 M J Ray becomes the 22nd committer to Koha
|
||||
May 22 2003 Paul Poulain commits new bulkmarcimport tool to Koha
|
||||
|
|
@ -179,7 +179,7 @@ May 13-16 2004 Zeki Celikbas presents Koha at a linux festival in Ankara, Turke
|
|||
May 25 2004 doXulting becomes the 30th committer to Koha
|
||||
May 29 2004 Brooke adds the Newbie Guide to the wiki, newbies around the world rejoice
|
||||
May 31 2004 "When profit's not the only goal" http://computerworld.co.nz/news.nsf/devt/04240726AC168409CC25723600334225?Opendocument&HighLight=2,koha
|
||||
June 3 2004 M J Ray (release maintainer for 2.0.x) starts expirementing with using arch for Koha version control
|
||||
June 3 2004 MJ Ray (release maintainer for 2.0.x) starts experimenting with using arch for Koha version control
|
||||
June 4 2004 Paul commits first cut at online help
|
||||
June 23 2004 Ecole des Mines de Nantes funds the development of a suggestions module, to work with acquisitions
|
||||
June 24 2004 "And the winners are ..." http://computerworld.co.nz/news.nsf/news/6C696179245321F5CC256EBD006E50BC?Opendocument&HighLight=2,koha
|
||||
|
|
@ -237,7 +237,8 @@ June 2 2005 Waylon Robertson becomes the 33rd committer to Koha
|
|||
June 3 2005 Gavin ?? becomes the 34th committer to Koha
|
||||
June 3 2005 Joshua Ferraro and Chris Cormack discuss trying out Koha for fulltext search on irc searching, fulltext
|
||||
June 3 2005 Friedrich zur Hellen becomes the 35th committer to Koha
|
||||
June 5 2005 Joshuaexpirements with Zebra, finds very positive and encouraging results searching, fulltext
|
||||
June 5 2005 Joshua experiments with Zebra, finds very positive and encouraging results searching, fulltext
|
||||
June 11 2005 MJ Ray presents Koha to the British & Irish Association of Law Librarians 36th Annual Study Conference and Exhibition
|
||||
June 13 2005 Catalogue KOHA : mode d’emploi (in French) by the Bibliothèque de sociologie du CNRS, Paris is published on www.kohadocs.org
|
||||
June 13 2005 After more discussion on irc, Joshua Ferraro sets up a test site using zebra on liblime servers search, fulltext, liblime
|
||||
June 14 2005 Draft coding guidelines published
|
||||
|
|
@ -248,7 +249,7 @@ July 4 2005 Paul Poulain proposes we rename Koha 2.4 to be 3.0
|
|||
July 5 2005 Bug 1000 registered at bugs.koha.org
|
||||
July 6 2005 koha-zebra mailing list created
|
||||
July 12 2005 The first chapter of the Koha Users Guide -- "Setting Up Your Koha System" -- is now available in the "General Information" section of http://www.kohadocs.org/
|
||||
July 12 2005 M J Ray sets up Planet Koha
|
||||
July 12 2005 MJ Ray sets up Planet Koha, gathering all Koha blogs on one page
|
||||
July 13 2005 hatem ibraheem writes to say that MSA university (Modern Sience and Arts university) http://www.msa.eun.eg/library.htm using Koha community, library, Egypt
|
||||
August 13 2005 "Koha Coding Standards and Guidelines for Contributors." on http://www.kohadocs.org documentation
|
||||
August 18 2005 An expanded version of the first chapter of the Koha Users Guide is now available at http://www.kohadocs.org/usersguide. documentation
|
||||
|
|
@ -268,8 +269,7 @@ November 6 2005 The French-language Koha users guide, "Manuel d’utilisation d
|
|||
November 8 2005 Koha cvs moved to savannah from sourceforge, mailing lists follow
|
||||
November 14 2005 Anthony Youngman suggests using git
|
||||
November 27 2005 A new version of the Koha 2.2 Users Guide is now available on www.kohadocs.org (in the General Information section)
|
||||
December 11 2005 Joshua Ferraro becomes the 37th committer to Koha
|
||||
December 13 2005 Thomas Dukleth becomes the 38th committer to Koha
|
||||
December 13 2005 Thomas Dukleth becomes the 37th committer to Koha
|
||||
January 10 2006 Koha version 2.2.5 is released
|
||||
January 13 2006 Henri Damien Laurent announces new French Koha website
|
||||
January 17 2006 New material has been added to the Koha Users Guide to bring it up to date with version 2.2.5. There is also new material on acquiring MARC records (Z39.50 and file imports) and templating. View the Users Guide at http://www.kohadocs.org/usersguide/
|
||||
|
|
@ -282,27 +282,27 @@ January 27 2006 the first Chinese (Traditional) document on http://www.kohadoc
|
|||
February 4 2006 Joshua Ferraro commits first cut of Amazon content integration with Koha
|
||||
February 6 2006 IRC meeting
|
||||
February 11 2006 Article in computerworld about Koha http://computerworld.co.nz/news.nsf/news/3F65C01EAB666AC6CC25710F00805997?Opendocument&HighLight=2,koha
|
||||
February 23 2006 Robert Lyon (working at Katipo) becomes the 39th committer to Koha
|
||||
February 23 2006 Robert Lyon (working at Katipo) becomes the 38th committer to Koha
|
||||
February 24 2006 Tümer Garip writes inventory management tool
|
||||
February 27 2006 "Fear and loathing: is open source a developer's dream or business nightmare?" http://computerworld.co.nz/news.nsf/spec/68C09CE2C8B8A483CC25711F001161D9?Opendocument&HighLight=2,koha
|
||||
March 3 2006 Paul Poulain commits the holiday management code written by Tümer Garip
|
||||
March 6 2006 First email to the devel list from Pierrick Le Gall from INEO
|
||||
March 6 2006 IRC meeting
|
||||
March 7 2006 Pierrick Le Gall becomes the 40th committer to Koha
|
||||
March 7 2006 Pierrick Le Gall becomes the 39th committer to Koha
|
||||
March 13 2006 IRC meeting
|
||||
March 17 2006 First email from Kyle Hall at ccfls to the Mailing list
|
||||
March 24 2006 Joshua Ferraro has revised his document about installing Koha on Debian to accommodate Koha version 2.2.6 and Debian sarge (3.1). Find it on www.kohadocs.org under "System Administration." documentation
|
||||
April 3 2006 Developer meeting on IRC
|
||||
April 11 2006 Tümer Garip becomes the 41st committer to Koha (major influence in the addition of zebra to Koha and other)
|
||||
April 11 2006 Tümer Garip becomes the 40th committer to Koha (major influence in the addition of zebra to Koha and other)
|
||||
April 14 2006 Pierrick Le Gall begins as translation manager
|
||||
May 2,3 2006 Kohacon in Paris http://www.koha.org/community/conferences/
|
||||
May 12 2006 Bruno Tuomi (from San Ouest Provence) becomes the 42nd committer to Koha
|
||||
May 12 2006 Bruno Tuomi (from San Ouest Provence) becomes the 41st committer to Koha
|
||||
May 12-18 2006 Developers week at Bibliotheque du Centre de Mathematiques et Informatique (CMI) at the Universite de Provence, in Marseille
|
||||
May 19 2006 Arnaud Laurin (also from SAN-OP) becomes the 43rd committer to Koha
|
||||
May 19 2006 Arnaud Laurin (also from SAN-OP) becomes the 42nd committer to Koha
|
||||
May 31 2006 First email from Mike Hafen to the devel list
|
||||
June 1 2006 Antoine Farnault hired by Paul Poulain and Henri Damien Laurent to work on Koha
|
||||
June 5 2006 IRC meeting
|
||||
July 5 2006 Antoine Farnault becomes the 44th committer to Koha
|
||||
July 5 2006 Antoine Farnault becomes the 43rd committer to Koha
|
||||
July 12 2006 Koha 2.3.0 released release
|
||||
July 18 2006 Katipo starts a dedicated Koha team.
|
||||
July 18 2006 Paolo Pozzan starts translating koha to Italian translation, italian
|
||||
|
|
@ -322,10 +322,10 @@ January 11 2007 Tag cloud and new browsing feature added to Koha
|
|||
January 17 2007 contribs.koha.org goes live, Thanks to Pierrick Le Gall for the extensions manager.
|
||||
February 15 2007 Frédéric Demians from Tamil announces plan to offer support services around Koha
|
||||
March 8 2007 Koha 2.2.8 released
|
||||
March 10 2007 Ryan Higgins (of Liblime) becomes the 45th committer to Koha
|
||||
March 10 2007 Ryan Higgins (of Liblime) becomes the 44th committer to Koha
|
||||
March 12 2007 "Software development benefits from open source" http://computerworld.co.nz/news.nsf/devt/2B9B1FE8678CC680CC257299000A233F?Opendocument&HighLight=2,koha
|
||||
March 17 2007 Liblime accepted to google summer of code, call out to the mailing list for project ideas
|
||||
March 28 2007 Passini becomes the 46th committer to Koha
|
||||
March 28 2007 Passini becomes the 45th committer to Koha
|
||||
March 31 2007 Katipo sells Koha division to Liblime http://katipo.co.nz/about-us/news/nr1175402768.shtml
|
||||
April 1 2007 Russel Garlick, Chris Cormack and Mason James start at Liblime
|
||||
April 10 2007 Agnes Imecs begins work on a Hungarian translation of Koha translation, hungarian
|
||||
|
|
@ -339,100 +339,100 @@ June 25 2007 Second Koha day http://blog.bigballofwax.co.nz/2007/06/25/koha-pro
|
|||
June 25 2007 Beda Szukics announces updates to the german translations translation, german
|
||||
July 3 2007 Koha day http://lists.katipo.co.nz/public/koha/2007-July/012026.html
|
||||
July 28 2007 Koha day http://blog.bigballofwax.co.nz/2007/07/28/koha-project-day-3/
|
||||
September 14 2007 Russel Garlick becomes the 47th committer to Koha
|
||||
September 14 2007 Russel Garlick becomes the 46th committer to Koha
|
||||
September 24 2007 Chris Hammond-Trashor emails to tell the community that Koha has gone live in Samoa. http://www.nelsonlibrary.ws/
|
||||
October 2 2007 "Pharmac publishes directly with open source" http://computerworld.co.nz/news.nsf/news/25F72F231ABF8F5ACC2573630083A579?Opendocument&HighLight=2,koha
|
||||
October 3 2007 Joe Atzberger becomes the 48th committer to Koha
|
||||
October 3 2007 Chris Catalfo becomes the 49th committer to Koha
|
||||
October 3 2007 Joe Atzberger becomes the 47th committer to Koha
|
||||
October 3 2007 Chris Catalfo becomes the 48th committer to Koha
|
||||
October 4 2007 Biblibre formed
|
||||
October 10 2007 Frederic Demians becomes the 50th committer to Koha
|
||||
October 10 2007 Frederic Demians becomes the 49th committer to Koha
|
||||
October 12 2007 Axel Bojer working on Norwegian translation translation, norwegian
|
||||
October 17 2007 Galen Charlton becomes the 51st committer to Koha
|
||||
October 17 2007 Galen Charlton becomes the 50th committer to Koha
|
||||
October 18 2007 Chris Cormack wins Open Source contributor of the year at the NZ Open Source awards. Koha was a finalist for project of the year http://lists.katipo.co.nz/public/koha/2007-October/012579.html
|
||||
October 30 2007 "Open source is a viable option, says the SSC" http://computerworld.co.nz/news.nsf/news/30E7D1CD947D73ABCC25737F00834E88?Opendocument&HighLight=2,koha
|
||||
November 6 2007 Chris Nighswonger becomes the 52nd committer to Koha developer
|
||||
December 21 2007 Daniel Banzli becomes the 53rd committer to Koha developer
|
||||
November 6 2007 Chris Nighswonger becomes the 51st committer to Koha developer
|
||||
December 21 2007 Daniel Banzli becomes the 52nd committer to Koha developer
|
||||
January 5 2008 Koha 3.0.0 Alpha is released release
|
||||
January 28 2008 Anousak Souphavanh working on a Lao translation of Koha translation, lao
|
||||
February 23 2008 Jesse Weaver becomes the 54th committer to Koha developer
|
||||
February 23 2008 Jesse Weaver becomes the 53rd committer to Koha developer
|
||||
March 3 2008 Russel Garlick, Chris Cormack and Mason James leave Liblime Liblime NZ closed
|
||||
March 11 2008 Kurt Debrouwer working on a Dutch translation translation, dutch
|
||||
March 12 2009 Vladimir Mircevski working on a Serbian translation translation, serbian
|
||||
March 19 2008 Andrew Moore becomes the 55th committer to Koha developer
|
||||
March 19 2008 Andrew Moore becomes the 54th committer to Koha developer
|
||||
March 23 2008 Koha 3.0.0 Beta is released
|
||||
April 2 2008 Darrell Ulm becomes the 56th committer to Koha developer
|
||||
April 2 2008 Darrell Ulm becomes the 55th committer to Koha developer
|
||||
April 5 2008 Koha 3.0.0 Beta 2 is released
|
||||
April 7 2008 Bug 2000 registered at bugs.koha.org
|
||||
April 13 2008 Voting opens for new Koha website theme
|
||||
April 24 2008 Marc Chantreux becomes the 57th committer to Koha developer
|
||||
April 24 2008 Marc Chantreux becomes the 56th committer to Koha developer
|
||||
April 24 2008 Marijana Glavica working on a Croatian translation translation, croatian
|
||||
April 25 2008 Frère Sébastien Marie becomes the 58th committer to Koha developer
|
||||
April 26 2008 Polytechnic University Koha Installation becomes the 59th committer to Koha developer
|
||||
May 6 2008 NCE becomes the 60th committer to Koha developer
|
||||
May 18 2008 Koha production??? becomes the 61st committer to Koha developer
|
||||
May 28 2008 Michael Hafen becomes the 62nd committer to Koha developer
|
||||
June 17 2008 Daniel Kahn Gillmor becomes the 63rd committer to Koha developer
|
||||
June 21 2008 Ricardo Dias Marques becomes the 64th committer to Koha developer
|
||||
April 25 2008 Frère Sébastien Marie becomes the 57th committer to Koha developer
|
||||
April 26 2008 Polytechnic University Koha Installation becomes the 58th committer to Koha developer
|
||||
May 6 2008 NCE becomes the 59th committer to Koha developer
|
||||
May 18 2008 Koha production??? becomes the 60th committer to Koha developer
|
||||
May 28 2008 Michael Hafen becomes the 61st committer to Koha developer
|
||||
June 17 2008 Daniel Kahn Gillmor becomes the 62nd committer to Koha developer
|
||||
June 21 2008 Ricardo Dias Marques becomes the 63rd committer to Koha developer
|
||||
June 24 2008 String freeze for Koha 3.0.0 announced
|
||||
June 24 2008 Koha 3.0.0 rc1 released
|
||||
July 2008 Nicole Engard releases the Koha 3.0.0 manual on Google Sites
|
||||
July 1 2008 Philippe Jaillon becomes the 65th committer to Koha developer
|
||||
July 4 2008 DeAndre Carroll becomes the 66th committer to Koha developer
|
||||
July 1 2008 Philippe Jaillon becomes the 64th committer to Koha developer
|
||||
July 4 2008 DeAndre Carroll becomes the 65th committer to Koha developer
|
||||
July 8 2008 Draft manual for koha 3.0.0 made available
|
||||
July 11 2008 Nicole Engard becomes the 67th committer to Koha developer
|
||||
July 11 2008 Nicole Engard becomes the 66th committer to Koha developer
|
||||
July 28 2008 "Enterprise doors open for open source" http://computerworld.co.nz/news.nsf/spec/446B512F34E476C0CC25749000796965?Opendocument&HighLight=2,koha
|
||||
August 2 2008 Danny Bouman becomes the 68th committer to Koha developer
|
||||
August 8 2008 Southeastern University becomes the 69th committer to Koha developer
|
||||
August 2 2008 Danny Bouman becomes the 67th committer to Koha developer
|
||||
August 8 2008 Southeastern University becomes the 68th committer to Koha developer
|
||||
August 11 2008 Koha 3.0.0 released
|
||||
August 11 2008 Delhi public library announce they are going live with Koha 3.0.0
|
||||
August 16 2008 Vincent Danjean becomes the 70th committer to Koha developer
|
||||
August 16 2008 Vincent Danjean becomes the 69th committer to Koha developer
|
||||
August 31 2008 Kyle hall makes a VMWare image of Koha 3.0.0 available September 13 2008, Community Meeting, new positions elected 3.2 Release Manager - Galen Charlton, LibLime Translation Manager - Chris Cormack, Catalyst Documentation Manager - Nicole Engard, LibLime 3.0 Release Maintainer - Henri-Damien Laurent, BibLibre http://koha.org/cgi-bin/logs.pl?look=plain&startdate=2008091212:00:37&enddate=2008091213:30:01&search=Search
|
||||
September 19 2008 Clay Fouts becomes the 71st committer to Koha developer
|
||||
September 19 2008 Clay Fouts becomes the 70th committer to Koha developer
|
||||
October 2 2008 Delhi Public Library goes live with koha 3.0.0
|
||||
October 15 2008 Nahuel Angelinetti becomes the 72nd committer to Koha developer
|
||||
October 23 2008 Allen Reinmeyer becomes the 73rd committer to Koha developer
|
||||
October 23 2008 John Beppu becomes the 74th committer to Koha developer
|
||||
October 15 2008 Nahuel Angelinetti becomes the 71st committer to Koha developer
|
||||
October 23 2008 Allen Reinmeyer becomes the 72nd committer to Koha developer
|
||||
October 23 2008 John Beppu becomes the 73rd committer to Koha developer
|
||||
November 3 2008 Rosalie Blake named a LIANZA Fellow http://www.lianza.org.nz/development/awards/professional/2008-recipients.html
|
||||
November 18 2008 David Schuster moots the idea of a Koha conference in April 2009
|
||||
December 19 2008 Andy Giesler writes a great guide to installing Koha on Ubuntu http://www.blazingmoon.org/guides/k3-on-u810-1.html
|
||||
December 24 2008 Stan Brinkerhoff becomes the 75th committer to Koha developer
|
||||
January 16 2009 Daniel Sweeney becomes the 76th committer to Koha developer
|
||||
December 24 2008 Stan Brinkerhoff becomes the 74th committer to Koha developer
|
||||
January 16 2009 Daniel Sweeney becomes the 75th committer to Koha developer
|
||||
January 24 2009 KUDOS (Koha Users and Developers of Open Source) for those using the software, Meeting at ALA
|
||||
January 24 2009 KOHA Interest Group Meeting at ALA
|
||||
February 5 2009 Koha 3.0.1 beta released
|
||||
February 6 2009 J. David Bavousett becomes the 77th committer to Koha developer
|
||||
February 10 2009 Andrew Elwell becomes the 78th committer to Koha developer
|
||||
February 6 2009 J. David Bavousett becomes the 76th committer to Koha developer
|
||||
February 10 2009 Andrew Elwell becomes the 77th committer to Koha developer
|
||||
February 13 2009 K's Helping Hand launched http://krishnanm.com/khh
|
||||
February 13-14 2009 Prashant Kulkarni and Krishnan Mani present Koha at Gnunify 09
|
||||
February 19 2009 Koha 3.0.1 released
|
||||
March 3 2009 Brian Harrington becomes the 79th committer to Koha developer
|
||||
March 3 2009 Brian Harrington becomes the 78th committer to Koha developer
|
||||
March 3 2009 Bug 3000 registered at bugs.koha.org
|
||||
March 5 2009 James Winter becomes the 80th committer to Koha developer
|
||||
March 5 2009 Stephen Edwards becomes the 81st committer to Koha developer
|
||||
March 5 2009 James Winter becomes the 79th committer to Koha developer
|
||||
March 5 2009 Stephen Edwards becomes the 80th committer to Koha developer
|
||||
March 12 2009 Biblibre start work on a connector for SOPAC (the social opac) and Koha
|
||||
April 9 2009 Delhi public Library opens its first computerised sub branch at Vinobha Puri http://www.newdelhinews.net/story/487886 India
|
||||
April 16-17 2009 Kohacon 2009 in Plano, Texas, USA
|
||||
April 18-20 2009 Developer conference/hackfest Plano, Texas, USA
|
||||
April 18 2009 Brendan A. Gallagher narrowly beats Jane to become the 82nd committer developer
|
||||
April 18 2009 Jane Wagner becomes the 83rd committer developer
|
||||
April 19 2009 Cory Jaeger becomes the 84th committer developer
|
||||
April 23 2009 Christopher Hyde becomes the 85th committer to have a patch pushed into the main repository developer
|
||||
April 24 2009 David Goldfein becomes the 86th committer to have a patch pushed into the main repository developer
|
||||
April 29 2009 Garry Collum becomes the 87th committer to have a patch pushed into the main repository developer
|
||||
April 29 2009 Liz Rea becomes the 88th committer to have a patch pushed into the main repository developer
|
||||
April 18 2009 Brendan A. Gallagher narrowly beats Jane to become the 81st committer developer
|
||||
April 18 2009 Jane Wagner becomes the 82nd committer developer
|
||||
April 19 2009 Cory Jaeger becomes the 83rd committer developer
|
||||
April 23 2009 Christopher Hyde becomes the 84th committer to have a patch pushed into the main repository developer
|
||||
April 24 2009 David Goldfein becomes the 85th committer to have a patch pushed into the main repository developer
|
||||
April 29 2009 Garry Collum becomes the 86th committer to have a patch pushed into the main repository developer
|
||||
April 29 2009 Liz Rea becomes the 87th committer to have a patch pushed into the main repository developer
|
||||
April 29 2009 Lenora Oftedahl sets up an SQL library on the koha wiki, users rejoice, and lo a multitude of reports are added
|
||||
May 1 2009 Colin Campbell becomes the 89th committer to have a patch pushed into the main repository developer
|
||||
May 1 2009 David Birmingham becomes the 90th committer to have a patch pushed into the main repository developer
|
||||
May 1 2009 Colin Campbell becomes the 88th committer to have a patch pushed into the main repository developer
|
||||
May 1 2009 David Birmingham becomes the 89th committer to have a patch pushed into the main repository developer
|
||||
May 6 2009 IRC meeting http://wiki.koha.org/doku.php?id=meetingnotes09apr07
|
||||
May 7 2009 Maintenance tree created on git.koha.org for testing for 3.0.2
|
||||
May 21 2009 Andrei V. Toutoukine becomes the 91st committer to have a patch accepted in Koha developer
|
||||
May 21 2009 Andrei V. Toutoukine becomes the 90th committer to have a patch accepted in Koha developer
|
||||
May 22 2009 First feature sponsored by Northeast Kansas Library System (NEKLS) accepted sponsor
|
||||
May 28 2009 Rick Welykochy becomes the 92nd committer to have a patch accepted developer
|
||||
May 28 2009 Rick Welykochy becomes the 91st committer to have a patch accepted developer
|
||||
May 28 2009 First feature sponsored by Masscat accepted sponsor
|
||||
May 28 2009 Zeno Tajoli becomes the 93rd committer to have a patch accepted developer
|
||||
May 29 2009 Matthias Meusburger becomes the 94th committer to have patch accepted developer
|
||||
May 28 2009 Zeno Tajoli becomes the 92nd committer to have a patch accepted developer
|
||||
May 29 2009 Matthias Meusburger becomes the 93rd committer to have patch accepted developer
|
||||
May 29 2009 First feature sponsored by Plano Independent School District committed sponsor
|
||||
June 3 2009 Savitra Sirohi becomes the 95th committer to have a patch accepted developer,India
|
||||
June 3 2009 Savitra Sirohi becomes the 94th committer to have a patch accepted developer,India
|
||||
June 3 2009 IRC general Meeting http://wiki.koha.org/doku.php?id=en:events:meetings:irc_meetings:meetingnotes09jun3
|
||||
June 4 2009 Koha 3.0.2 released releases
|
||||
June 8 2009 Koha passed 10,000 commits in the master branch (since December 2000) statistics
|
||||
|
|
@ -440,14 +440,14 @@ June 26 2009 Koha 3.0.3 released releases
|
|||
July 1 2009 IRC general Meeting http://wiki.koha.org/doku.php?id=en:events:meetings:irc_meetings:meetingnotes09jul01
|
||||
July 27 2009 Feature sponsored by East Brunswick Public Library, East Brunswick, NJ USA and Middletown Township Public Library, Middletown, NJ USA committed sponsor
|
||||
July 30 2009 First message to koha-commits mailing list
|
||||
August 1 2009 Sébastien Hinderer becomes the 96th committer to have a patched accepted developer,france
|
||||
August 1 2009 Sébastien Hinderer becomes the 95th committer to have a patched accepted developer,france
|
||||
August 5 2009 IRC general meeting http://wiki.koha.org/doku.php?id=en:events:meetings:irc_meetings:meetingnotes09aug05
|
||||
August 30 2009 John A. Graziano Memorial Library contributes a icon for Bridge Icon set
|
||||
September 2 2009 IRC general meeting http://wiki.koha.org/doku.php?id=en:events:meetings:irc_meetings:meetingnotes09sep02
|
||||
September 5 2009 UNIMARC XSLT cleanup and new features Sponsored by BULAC, www.bulac.fr
|
||||
September 5 2009 Labels rewrite committed, sponsored by Foundations Bible College & Seminary, Dunn, NC USA
|
||||
September 6 2009 Katrin Fischer becomes the 97th committer to have a patch accepted developer
|
||||
September 6 2009 Wolfgang Heymans becomes the 98th committer to have a patch accepted developer
|
||||
September 6 2009 Katrin Fischer becomes the 96th committer to have a patch accepted developer
|
||||
September 6 2009 Wolfgang Heymans becomes the 97th committer to have a patch accepted developer
|
||||
September 15 2009 Foundation forming meeting http://wiki.koha.org/doku.php?id=en:events:meetings:irc_meetings:meetingnotes09sep15
|
||||
October 7 2009 IRC general meeting http://wiki.koha.org/doku.php?id=en:events:meetings:irc_meetings:meetingnotes09oct07
|
||||
October 22 2009 Koha 3.0.4 released releases
|
||||
|
|
@ -456,11 +456,11 @@ November 4 2009 General meeting http://wiki.koha.org/doku.php?id=en:events:meeti
|
|||
December 2 2009 KUDOS meeting http://wiki.koha.org/doku.php?id=en:events:meetings:irc_meetings:kudosmeetingnotes09dec02
|
||||
December 2 2009 General meeting http://wiki.koha.org/doku.php?id=en:events:meetings:irc_meetings:meetingnotes09dec02
|
||||
December 3 2009 Foundation meeting http://wiki.koha.org/doku.php?id=en:events:meetings:irc_meetings:meetingnotes09dec03
|
||||
December 9 2009 Piotr Wejman becomes the 99th committer to have a patch accepted developer
|
||||
December 9 2009 Piotr Wejman becomes the 98th committer to have a patch accepted developer
|
||||
December 19 2009 Koha 3.0.5 released releases
|
||||
December 20 2009 NYUHSL becomes the 100th committer to have a patch accepted developer
|
||||
December 23 2009 Sharon Moreland becomes the 101st committer to have a patch accepted (sent via Liz Rea) developer
|
||||
December 23 2009 Nicolas Morin becomes the 102 committed to have a patch accepted developer
|
||||
December 20 2009 NYUHSL becomes the 99th committer to have a patch accepted developer
|
||||
December 23 2009 Sharon Moreland becomes the 100th committer to have a patch accepted (sent via Liz Rea) developer
|
||||
December 23 2009 Nicolas Morin becomes the 101st committed to have a patch accepted developer
|
||||
January 13 2010 IRC General Meeting http://wiki.koha.org/doku.php?id=en:events:meetings:irc_meetings:meetingnotes10jan13
|
||||
January 14 2010 Bywater Solutions and Biblibre partner to offer support in the US
|
||||
January 14 2010 Chris Cormack elected Release Manager for 3.4.0
|
||||
|
|
@ -470,26 +470,40 @@ February 2 2010 Community Handover meeting http://wiki.koha.org/doku.php?id=en:e
|
|||
February 2 2010 koha-community.org website started
|
||||
February 3 2010 Koha 3.2.0 Alpha released
|
||||
February 9 2010 General IRC meeting http://wiki.koha.org/doku.php?id=en:events:meetings:irc_meetings:meetingnotes10feb09
|
||||
February 10 2010 Magnus Enger becomes the 103rd committer to have a patch accepted
|
||||
February 10 2010 Magnus Enger becomes the 102nd committer to have a patch accepted
|
||||
February 11 2010 Acquisition of Liblime by PTFS called off
|
||||
February 11 2010 Equinox begin to offer Koha support
|
||||
February 15 2010 Will Stokes becomes the 104th committer to have a patch accepted
|
||||
February 15 2010 Will Stokes becomes the 103rd committer to have a patch accepted
|
||||
February 16 2010 Kohacon10 IRC meeting http://wiki.koha.org/doku.php?id=en:kohacon2010:meetingminutes16feb
|
||||
March 2 2010 Community Handover meeting http://wiki.koha.org/doku.php?id=en:events:meetings:irc_meetings:meetingnotes10mar02
|
||||
March 3 2010 General IRC meeting http://wiki.koha.org/doku.php?id=en:events:meetings:irc_meetings:meetingnotes10mar03
|
||||
March 15 2010 PTFS acquires LibLime after all
|
||||
March 16 2010 Lars Wirzenius becomes the 105th committer to have a patch accepted
|
||||
March 16 2010 Lars Wirzenius becomes the 104th committer to have a patch accepted
|
||||
April 6 2010 Community handover meeting http://wiki.koha.org/doku.php?id=en:events:meetings:irc_meetings:meetingnotes10apr06
|
||||
April 7 2010 General meeting http://wiki.koha.org/doku.php?id=en:events:meetings:irc_meetings:meetingnotes10apr07
|
||||
April 7 2010 Donovan Jones becomes the 106th committer to have a patch accepted
|
||||
April 7 2010 Srdjan Jankovic becomes the 107th committer to have a patch accepted
|
||||
April 7 2010 Cindy Murdock Ames becomes the 108th committer to have a patch accepted
|
||||
April 7 2010 Alex Arnaud becomes the 109th committer to have a patch accepted
|
||||
April 16 2010 Amit Gupta becomes the 110th committer to have a patch accepted
|
||||
April 19 2010 Robin Sheat becomes the 111th committer to have a patch accepted
|
||||
April 30 2010 Jared CAMINS-ESAKOV becomes the 112th committer to have a patch accepted
|
||||
May 4 2010 Koustubha Kale becomes the 113th committer to have a patch accepted
|
||||
April 7 2010 Donovan Jones becomes the 105th committer to have a patch accepted
|
||||
April 7 2010 Srdjan Jankovic becomes the 106th committer to have a patch accepted
|
||||
April 7 2010 Cindy Murdock Ames becomes the 107th committer to have a patch accepted
|
||||
April 7 2010 Alex Arnaud becomes the 108th committer to have a patch accepted
|
||||
April 16 2010 Amit Gupta becomes the 109th committer to have a patch accepted
|
||||
April 19 2010 Robin Sheat becomes the 110th committer to have a patch accepted
|
||||
April 30 2010 Jared CAMINS-ESAKOV becomes the 111th committer to have a patch accepted
|
||||
May 4 2010 Koustubha Kale becomes the 112th committer to have a patch accepted
|
||||
May 4 2010 Community Handover meeting http://wiki.koha-community.org/wiki/Community_Handover_IRC_Meeting,_4_May_2010
|
||||
May 5 2010 General IRC meeting http://wiki.koha-community.org/wiki/General_Meeting,_May_5_2010
|
||||
May 5 2010 Matthew Hunt becomes the 114th committer to have a patch accepted
|
||||
May 19 2010 Marcel de Rooy becomes the 115th committer to have a patch accepted
|
||||
May 5 2010 Matthew Hunt becomes the 113th committer to have a patch accepted
|
||||
May 17 2010 Koha 3.0.6 released
|
||||
May 19 2010 Marcel de Rooy becomes the 114th committer to have a patch accepted
|
||||
July 19 2010 Andrew Chilton becomes the 115th committer to have a patch accepted
|
||||
June 2 2010 General IRC meeting http://wiki.koha-community.org/wiki/General_IRC_Meeting,_2_June_2010
|
||||
July 7 2010 General IRC meeting http://wiki.koha-community.org/wiki/General_IRC_Meeting,_7_July_2010
|
||||
June 25 2010 Koha 3.2 Beta released http://koha-community.org/koha-3-2-beta-released/
|
||||
July 13 2010 License meeting http://wiki.koha-community.org/wiki/License_Upgrade_Vote_IRC_Meeting,_13_July_2010
|
||||
August 11 2010 General IRC meeting http://wiki.koha-community.org/wiki/General_IRC_Meeting,_11_August_2010
|
||||
September 1 2010 General IRC meeting http://wiki.koha-community.org/wiki/General_IRC_Meeting,_1_September_2010
|
||||
September 29 2010 Eric Olsen becomes the 116th committer to have a patch accepted
|
||||
October 22 2010 Koha 3.2.0 released
|
||||
October 25-31 2010 Kohacon10 in Wellington
|
||||
October 30 2010 Brian Engard becomes the 117th committer to have a patch accepted
|
||||
October 30 2010 Daniel Grobani becomes the 118th committer to have a patch accepted
|
||||
October 31 2010 Nate Curulla becomes the 119th committer to have patch accepted
|
||||
|
|
|
|||
|
|
@ -189,3 +189,6 @@ att 9903 lex
|
|||
att 9904 arl
|
||||
att 9013 arp
|
||||
att 9520 Item
|
||||
# Curriculum
|
||||
att 9658 curriculum
|
||||
|
||||
|
|
|
|||
|
|
@ -1052,6 +1052,8 @@ arl 1=9904 r=r
|
|||
|
||||
#Accelerated Reader Point
|
||||
arp 1=9013 r=r
|
||||
# Curriculum
|
||||
curriculum 1=9658
|
||||
|
||||
## Statuses
|
||||
popularity 1=issues
|
||||
|
|
@ -1067,7 +1069,7 @@ dt-map 1=8700
|
|||
r1 9=32
|
||||
r2 9=28
|
||||
r3 9=26
|
||||
r4 9=10
|
||||
r4 9=24
|
||||
r5 9=22
|
||||
r6 9=20
|
||||
r7 9=18
|
||||
|
|
|
|||
|
|
@ -252,27 +252,27 @@ map ý y
|
|||
map Ý y
|
||||
|
||||
# mapping blank string
|
||||
map (^impr) @
|
||||
map (^impr\s) @
|
||||
map (^impr\.) @
|
||||
map (^Impr) @
|
||||
map (^Impr\s) @
|
||||
map (^Impr\.) @
|
||||
map (^IMPR) @
|
||||
map (^IMPR\s) @
|
||||
map (^IMPR\.) @
|
||||
map (^DL) @
|
||||
map (^DL\s) @
|
||||
map (^DL\.) @
|
||||
map (^Dl) @
|
||||
map (^Dl\s) @
|
||||
map (^Dl\.) @
|
||||
map (^dl) @
|
||||
map (^dl\s) @
|
||||
map (^dl\.) @
|
||||
map (^cop) @
|
||||
map (^cop\s) @
|
||||
map (^cop\.) @
|
||||
map (^Cop) @
|
||||
map (^Cop\s) @
|
||||
map (^Cop\.) @
|
||||
map (^COP) @
|
||||
map (^COP\s) @
|
||||
map (^COP\.) @
|
||||
map (^c) @
|
||||
map (^c\s) @
|
||||
map (^c\.) @
|
||||
map (^C) @
|
||||
map (^C\s) @
|
||||
map (^C\.) @
|
||||
map (^\[sd\]) @
|
||||
map (^\[s\.d\.\]) @
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@
|
|||
|
||||
<history>
|
||||
Created for Koha 3
|
||||
http://koha.org
|
||||
http://koha-community.org
|
||||
</history>
|
||||
|
||||
<implementation identifier="zebra" version="1.4">
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@
|
|||
|
||||
<history>
|
||||
Created for Koha 3
|
||||
http://koha.org
|
||||
http://koha-community.org
|
||||
</history>
|
||||
|
||||
<implementation identifier="zebra" version="1.4">
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<kohaidx:index_defs xmlns:kohaidx="http://www.koha.org/schemas/index-defs">
|
||||
<kohaidx:index_defs xmlns:kohaidx="http://www.koha-community.org/schemas/index-defs">
|
||||
<!-- variables -->
|
||||
<kohaidx:var name="form_subdivision_subfield">v</kohaidx:var>
|
||||
<kohaidx:var name="general_subdivision_subfield">x</kohaidx:var>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xslo:stylesheet xmlns:xslo="http://www.w3.org/1999/XSL/Transform" xmlns:marc="http://www.loc.gov/MARC21/slim" xmlns:z="http://indexdata.com/zebra-2.0" xmlns:kohaidx="http://www.koha.org/schemas/index-defs" version="1.0">
|
||||
<xslo:stylesheet xmlns:xslo="http://www.w3.org/1999/XSL/Transform" xmlns:marc="http://www.loc.gov/MARC21/slim" xmlns:z="http://indexdata.com/zebra-2.0" xmlns:kohaidx="http://www.koha-community.org/schemas/index-defs" version="1.0">
|
||||
<xslo:output indent="yes" method="xml" version="1.0" encoding="UTF-8"/>
|
||||
<xslo:template match="text()"/>
|
||||
<xslo:template match="text()" mode="index_subfields"/>
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
xmlns:xslo="http://www.w3.org/1999/XSL/TransformAlias"
|
||||
xmlns:z="http://indexdata.com/zebra-2.0"
|
||||
xmlns:kohaidx="http://www.koha.org/schemas/index-defs">
|
||||
xmlns:kohaidx="http://www.koha-community.org/schemas/index-defs">
|
||||
|
||||
<xsl:namespace-alias stylesheet-prefix="xslo" result-prefix="xsl"/>
|
||||
<xsl:output indent="yes" method="xml" version="1.0" encoding="UTF-8"/>
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ melm 001 Control-number
|
|||
melm 005 Date/time-last-modified
|
||||
melm 007 Microform-generation:n:range(data,11,1),Material-type,ff7-00:w:range(data,0,1),ff7-01:w:range(data,1,1),ff7-02:w:range(data,2,1),ff7-01-02:w:range(data,0,2)
|
||||
|
||||
melm 008 date-entered-on-file:n:range(data,0,5),date-entered-on-file:s:range(data,0,5),pubdate:w:range(data,7,4),pubdate:n:range(data,7,4),pubdate:y:range(data,7,4),pubdate:s:range(data,7,4),pl:w:range(data,15,3),ta:w:range(data,22,1),ff8-23:w:range(data,23,1),ff8-29:w:range(data,29,1),lf:w:range(data,33,1),bio:w:range(data,34,1),ln:n:range(data,35,3),ctype:w:range(data,24,4),Record-source:w:range(data,39,0)
|
||||
melm 008 date-entered-on-file:n:range(data,0,5),date-entered-on-file:s:range(data,0,5),pubdate:w:range(data,7,4),pubdate:n:range(data,7,4),pubdate:y:range(data,7,4),pubdate:s:range(data,7,4),pl:w:range(data,15,3),ta:w:range(data,22,1),ff8-23:w:range(data,23,1),ff8-29:w:range(data,29,1),lf:w:range(data,33,1),bio:w:range(data,34,1),ln:w:range(data,35,3),ctype:w:range(data,24,4),Record-source:w:range(data,39,0)
|
||||
|
||||
melm 010 LC-card-number,Identifier-standard
|
||||
melm 011 LC-card-number,Identifier-standard
|
||||
|
|
@ -188,6 +188,9 @@ melm 656$9 Koha-Auth-Number
|
|||
melm 656 Subject
|
||||
melm 657$9 Koha-Auth-Number
|
||||
melm 657 Subject
|
||||
melm 658$a curriculum:w,curriculum:p
|
||||
melm 658$b curriculum:w,curriculum:p
|
||||
melm 658$c curriculum:w,curriculum:p
|
||||
melm 690$9 Koha-Auth-Number
|
||||
melm 690 Subject,Subject:p
|
||||
|
||||
|
|
|
|||
|
|
@ -329,9 +329,12 @@ melm 995$d holdingbranch,Record-Source,item
|
|||
melm 995$e location,item
|
||||
melm 995$f barcode,item
|
||||
melm 995$h ccode,item
|
||||
melm 995$j LC-card-number:s,item
|
||||
melm 995$j LC-card-number:s,item
|
||||
melm 995$k Call-Number,Local-Classification,lcn,Call-Number:p,Local-Classification:p,lcn:p,item
|
||||
melm 995$s popularity:n,popularity:s,item
|
||||
melm 995$n onloan:d,onloan:n,onloan:s,onloan:w,item
|
||||
melm 995$s popularity:n,popularity:s,item
|
||||
melm 995$u Note,Note:p,item
|
||||
melm 995 item # just to index every subfield
|
||||
|
||||
### 942 local info - may want to use this if you're using the English UNIMARC frameworks
|
||||
###melm 942$0 popularity:n,popularity:s,item
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
#
|
||||
# Current maintainer MJR http://mjr.towers.org.uk/
|
||||
# See http://www.koha.org/wiki/?page=KohaInstaller
|
||||
|
||||
# Create a fake CPAN location for koha
|
||||
use CPAN;
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ Le script nécessite les droits root. lancer l'installation:
|
|||
|
||||
les modificateurs sont:
|
||||
|
||||
b: installer koha grace au tarball du site koha.org
|
||||
b: installer koha grace au tarball du site koha-community.org
|
||||
c: ne pas configurer le systeme de paquet debian
|
||||
|
||||
ils sont regroupés (sans espace), ainsi
|
||||
|
|
@ -70,7 +70,7 @@ conseillons de conserver ce paramètre et de selectionner [dev] comme type
|
|||
d'installation lorsque cela vous sera demandé. Ce choix vous permet de mettre
|
||||
koha à jour par un simple git pull.
|
||||
|
||||
Si vous préférez utiliser le tarball disponible sur le site de koha.org,
|
||||
Si vous préférez utiliser le tarball disponible sur le site de koha-community.org,
|
||||
utilisez le modificateur b:
|
||||
|
||||
sh install_koha_on_fresh_debian b
|
||||
|
|
|
|||
|
|
@ -12,14 +12,13 @@ idzebra-2.0 \
|
|||
idzebra-2.0-utils \
|
||||
libalgorithm-checkdigits-perl \
|
||||
libbiblio-endnotestyle-perl \
|
||||
libbusiness-isbn-perl \
|
||||
libcgi-session-perl \
|
||||
libcgi-session-serialize-yaml-perl \
|
||||
libclass-accessor-perl \
|
||||
libclass-factory-util-perl \
|
||||
libdata-ical-perl \
|
||||
libdate-calc-perl \
|
||||
libdate-calc-perl \
|
||||
libdate-ical-perl \
|
||||
libdate-ical-perl \
|
||||
libdate-manip-perl \
|
||||
libdatetime-format-mail-perl \
|
||||
|
|
@ -29,20 +28,16 @@ libdatetime-locale-perl \
|
|||
libdatetime-perl \
|
||||
libdatetime-timezone-perl \
|
||||
libdbd-mysql-perl \
|
||||
libdbd-mysql-perl \
|
||||
libdbd-sqlite2-perl \
|
||||
libdbi-perl \
|
||||
libdigest-sha-perl \
|
||||
libemail-date-perl \
|
||||
libemail-date-perl \
|
||||
libgcrypt11-dev \
|
||||
libgcrypt11 \
|
||||
libgd2-xpm-dev \
|
||||
libgd-barcode-perl \
|
||||
libgd-barcode-perl \
|
||||
libgd-gd2-perl \
|
||||
libhtml-scrubber-perl \
|
||||
libhtml-scrubber-perl \
|
||||
libhtml-template-pro-perl \
|
||||
libidzebra-2.0-dev \
|
||||
libidzebra-2.0 \
|
||||
|
|
@ -57,30 +52,25 @@ libjson-perl \
|
|||
libjson-xs-perl \
|
||||
liblingua-ispell-perl \
|
||||
liblingua-stem-perl \
|
||||
liblingua-stem-perl \
|
||||
liblist-moreutils-perl \
|
||||
liblocale-gettext-perl \
|
||||
liblocale-po-perl \
|
||||
libmail-sendmail-perl \
|
||||
libmail-sendmail-perl \
|
||||
libmail-sendmail-perl \
|
||||
libmarc-charset-perl \
|
||||
libmarc-crosswalk-dublincore-perl \
|
||||
libmarc-record-perl \
|
||||
libmarc-xml-perl \
|
||||
libmime-lite-perl \
|
||||
libmime-lite-perl \
|
||||
libmime-lite-perl \
|
||||
libmodule-install-perl \
|
||||
libmysqlclient15-dev \
|
||||
libnet-ldap-perl \
|
||||
libnet-ldap-perl \
|
||||
libnet-z3950-zoom-perl \
|
||||
libnet-server-perl \
|
||||
libnumber-format-perl \
|
||||
libpdf-api2-perl \
|
||||
libpdf-api2-perl \
|
||||
libpdf-reuse-barcode-perl \
|
||||
libpdf-reuse-perl \
|
||||
libpoe-perl \
|
||||
libpdf-table-perl \
|
||||
libpoe-perl \
|
||||
libschedule-at-perl \
|
||||
libtext-charwidth-perl \
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@ idzebra-2.0 install
|
|||
idzebra-2.0-utils install
|
||||
libcgi-session-perl install
|
||||
libclass-factory-util-perl install
|
||||
libclass-factory-util-perl install
|
||||
libdata-ical-perl install
|
||||
libdate-calc-perl install
|
||||
libdate-ical-perl install
|
||||
|
|
@ -43,7 +42,6 @@ libjson-perl install
|
|||
liblingua-ispell-perl install
|
||||
liblingua-stem-perl install
|
||||
liblist-moreutils-perl install
|
||||
liblist-moreutils-perl install
|
||||
liblocale-gettext-perl install
|
||||
liblocale-po-perl install
|
||||
libmail-sendmail-perl install
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Licensed under the GPL
|
||||
# Copyright 2008 Biblibre.com
|
||||
# Koha library project www.koha.org
|
||||
# Koha library project www.koha-community.org
|
||||
#
|
||||
# this script follow all the installtion procedure described in INSTALL.Debian
|
||||
# with some additions to use lenny packages.
|
||||
|
|
@ -270,11 +270,11 @@ get_koha_git_clone () {
|
|||
|
||||
dpkg -l git-core ||
|
||||
aptitude -y install git-core git-email
|
||||
git clone git://git.koha.org/pub/scm/koha.git "$base"
|
||||
git clone git://git.koha-community.org/koha.git "$base"
|
||||
}
|
||||
|
||||
get_koha_release () {
|
||||
wget -O- http://download.koha.org/koha-3.00.00.tar.gz |
|
||||
wget -O- http://download.koha-community.org/koha-3.00.00.tar.gz |
|
||||
tar xzf -
|
||||
}
|
||||
|
||||
|
|
@ -292,7 +292,7 @@ get_koha_beta () {
|
|||
local i basename; i=2
|
||||
while [ $i != 11 ]; do
|
||||
basename=koha-3.00.00-beta$i
|
||||
wget -O- http://download.koha.org/$basename.tar.gz |
|
||||
wget -O- http://download.koha-community.org/$basename.tar.gz |
|
||||
tar xzf - &&
|
||||
mv $basename "$base" &&
|
||||
return 0
|
||||
|
|
|
|||
|
|
@ -0,0 +1,19 @@
|
|||
#!/bin/sh
|
||||
|
||||
UBUNTU_PACKAGES=`dirname $0`/ubuntu.packages
|
||||
|
||||
# sanity checks
|
||||
|
||||
if [ ! -e $UBUNTU_PACKAGES ]; then
|
||||
echo ERROR: Could not find $UBUNTU_PACKAGES file for running check.
|
||||
exit
|
||||
fi
|
||||
|
||||
# main
|
||||
|
||||
UBUNTU_PACKAGES_LIST=`awk '{print $1}' $UBUNTU_PACKAGES | grep -v '^\s*#' | grep -v '^\s*$'`
|
||||
for F in $UBUNTU_PACKAGES_LIST; do
|
||||
UBUNTU_PKG_POLICY=`apt-cache policy $F | grep "Installed:"`
|
||||
UBUNTU_PKG_VERSION=`echo $UBUNTU_PKG_POLICY | awk '{print $2}'`
|
||||
echo "$F = $UBUNTU_PKG_VERSION"
|
||||
done
|
||||
|
|
@ -1,90 +1,121 @@
|
|||
at install
|
||||
apache2 install
|
||||
cvs install
|
||||
daemon install
|
||||
libgcrypt11 install
|
||||
libgcrypt11-dev install
|
||||
make install
|
||||
gcc install
|
||||
gettext install
|
||||
mysql-server install
|
||||
libcgi-session-perl install
|
||||
libclass-factory-util-perl install
|
||||
libdate-calc-perl install
|
||||
libdate-manip-perl install
|
||||
libdate-ical-perl install
|
||||
libdatetime-format-mail-perl install
|
||||
libgraphics-magick-perl install
|
||||
libmail-sendmail-perl install
|
||||
liblingua-ispell-perl install
|
||||
liblingua-stem-perl install
|
||||
libdbd-mysql-perl install
|
||||
idzebra-2.0 install
|
||||
idzebra-2.0-common install
|
||||
idzebra-2.0-doc install
|
||||
idzebra-2.0-utils install
|
||||
libclass-factory-util-perl install
|
||||
apache2 install
|
||||
at install
|
||||
daemon install
|
||||
gcc install
|
||||
gettext install
|
||||
make install
|
||||
|
||||
# mysql packages
|
||||
|
||||
mysql-server install
|
||||
libmysqlclient16 install
|
||||
libmysqlclient16-dev install
|
||||
|
||||
# yaz packages
|
||||
|
||||
yaz install
|
||||
yaz-doc install
|
||||
libyaz3 install
|
||||
libyaz3-dev install
|
||||
|
||||
# zebra packages
|
||||
|
||||
idzebra-2.0 install
|
||||
idzebra-2.0-common install
|
||||
idzebra-2.0-doc install
|
||||
idzebra-2.0-utils install
|
||||
libidzebra-2.0-0 install
|
||||
libidzebra-2.0-dev install
|
||||
libidzebra-2.0-mod-alvis install
|
||||
libidzebra-2.0-mod-grs-marc install
|
||||
libidzebra-2.0-mod-grs-regx install
|
||||
libidzebra-2.0-mod-grs-xml install
|
||||
libidzebra-2.0-mod-text install
|
||||
libidzebra-2.0-modules install
|
||||
|
||||
# crypto packages
|
||||
|
||||
libgcrypt11 install
|
||||
libgcrypt11-dev install
|
||||
|
||||
# xml/xslt packages
|
||||
|
||||
libxml2 install
|
||||
libxml2-dev install
|
||||
libxml2-utils install
|
||||
libxslt1.1 install
|
||||
libxslt1-dev install
|
||||
|
||||
# perl packages
|
||||
|
||||
libalgorithm-checkdigits-perl install
|
||||
libauthen-cas-client-perl install
|
||||
libbiblio-endnotestyle-perl install
|
||||
libcgi-session-perl install
|
||||
libcgi-session-serialize-yaml-perl install
|
||||
libclass-factory-util-perl install
|
||||
libdata-ical-perl install
|
||||
libdate-calc-perl install
|
||||
libdate-ical-perl install
|
||||
libdate-manip-perl install
|
||||
libdatetime-perl install
|
||||
libdatetime-format-mail-perl install
|
||||
libdatetime-format-strptime-perl install
|
||||
libdatetime-format-w3cdtf-perl install
|
||||
libdatetime-locale-perl install
|
||||
libdatetime-perl install
|
||||
liblist-moreutils-perl install
|
||||
libdatetime-timezone-perl install
|
||||
libdbi-perl install
|
||||
libidzebra-2.0 install
|
||||
libidzebra-2.0-dev install
|
||||
libidzebra-2.0-mod-alvis install
|
||||
libidzebra-2.0-mod-grs-marc install
|
||||
libidzebra-2.0-mod-grs-regx install
|
||||
libidzebra-2.0-mod-grs-xml install
|
||||
libidzebra-2.0-mod-text install
|
||||
libidzebra-2.0-modules install
|
||||
libmysqlclient15-dev install
|
||||
libnet-ldap-perl install
|
||||
liblist-moreutils-perl install
|
||||
liblocale-gettext-perl install
|
||||
liblocale-po-perl install
|
||||
libpdf-api2-perl install
|
||||
libmime-lite-perl install
|
||||
libpoe-perl install
|
||||
libtext-csv-perl install
|
||||
libtext-charwidth-perl install
|
||||
libtext-iconv-perl install
|
||||
libtext-wrapi18n-perl install
|
||||
libtime-duration-perl install
|
||||
libtime-format-perl install
|
||||
libtimedate-perl install
|
||||
libunix-syslog-perl install
|
||||
libxml-dom-perl install
|
||||
libxml-dumper-perl install
|
||||
libxml-namespacesupport-perl install
|
||||
libxml-parser-perl install
|
||||
libxml-perl install
|
||||
libxml-simple-perl install
|
||||
libxml-regexp-perl install
|
||||
libxml-xslt-perl install
|
||||
libxml-libxml-perl install
|
||||
libxml-libxslt-perl install
|
||||
libxml2 install
|
||||
libxml2-dev install
|
||||
libxml2-utils install
|
||||
libxslt1-dev install
|
||||
libxslt1.1 install
|
||||
libyaml-syck-perl install
|
||||
libyaz install
|
||||
libyaz-dev install
|
||||
yaz install
|
||||
yaz-doc install
|
||||
libcgi-session-serialize-yaml-perl install
|
||||
libdata-ical-perl install
|
||||
libhtml-template-pro-perl install
|
||||
libmarc-charset-perl install
|
||||
bmarc-record-perl install
|
||||
libmarc-xml-perl install
|
||||
libnet-z3950-zoom-perl install
|
||||
libpdf-reuse-perl install
|
||||
libpdf-reuse-barcode-perl install
|
||||
libsms-send-perl install
|
||||
libschedule-at-perl install
|
||||
libxml-rss-perl install
|
||||
libmime-lite-perl install
|
||||
libdatetime-format-w3cdtf-perl install
|
||||
libdatetime-locale-perl install
|
||||
libdatetime-timezone-perl install
|
||||
libdbd-mysql-perl install
|
||||
libdbd-sqlite2-perl install
|
||||
libdbi-perl install
|
||||
libemail-date-perl install
|
||||
libgd-barcode-perl install
|
||||
libgraphics-magick-perl install
|
||||
libhtml-scrubber-perl install
|
||||
libhtml-template-pro-perl install
|
||||
liblingua-ispell-perl install
|
||||
liblingua-stem-perl install
|
||||
liblingua-stem-snowball-perl install
|
||||
liblist-moreutils-perl install
|
||||
liblocale-gettext-perl install
|
||||
liblocale-po-perl install
|
||||
libmail-sendmail-perl install
|
||||
libmarc-charset-perl install
|
||||
libmarc-crosswalk-dublincore-perl install
|
||||
libmarc-record-perl install
|
||||
libmarc-xml-perl install
|
||||
libmime-lite-perl install
|
||||
libmodule-install-perl install
|
||||
libnet-ldap-perl install
|
||||
libnet-server-perl install
|
||||
libnet-z3950-zoom-perl install
|
||||
libnumber-format-perl install
|
||||
libpdf-api2-perl install
|
||||
libpdf-reuse-perl install
|
||||
libpdf-reuse-barcode-perl install
|
||||
libpdf-table-perl install
|
||||
libpoe-perl install
|
||||
libschedule-at-perl install
|
||||
libsms-send-perl install
|
||||
libtext-charwidth-perl install
|
||||
libtext-csv-perl install
|
||||
libtext-iconv-perl install
|
||||
libtext-wrapi18n-perl install
|
||||
libtimedate-perl install
|
||||
libtime-duration-perl install
|
||||
libtime-format-perl install
|
||||
libuniversal-require-perl install
|
||||
libunix-syslog-perl install
|
||||
libxml-perl install
|
||||
libxml-dom-perl install
|
||||
libxml-dumper-perl install
|
||||
libxml-libxml-perl install
|
||||
libxml-libxslt-perl install
|
||||
libxml-namespacesupport-perl install
|
||||
libxml-parser-perl install
|
||||
libxml-regexp-perl install
|
||||
libxml-rss-perl install
|
||||
libxml-sax-writer-perl install
|
||||
libxml-simple-perl install
|
||||
libxml-xslt-perl install
|
||||
libyaml-perl install
|
||||
libyaml-syck-perl install
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/perl
|
||||
|
||||
# Part of the Koha Library Software www.koha.org
|
||||
# Part of the Koha Library Software www.koha-community.org
|
||||
# Licensed under the GPL.
|
||||
|
||||
use strict;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('acquisitions','normal','Choose Normal, budget-based acquisitions, or Simple bibliographic-data acquisitions','simple|normal','Choice');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('advancedMARCeditor',0,"If ON, the MARC editor won't display field/subfield descriptions",'','YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('AllowHoldDateInFuture','0','If set a date field is displayed on the Hold screen of the Staff Interface, allowing the hold date to be set in the future.','','YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('OPACAllowHoldDateInFuture','0','If set, along with the AllowHoldDateInFuture system preference, OPAC users can set the date of a hold to be in the future.','','YesNo');
|
||||
|
|
@ -20,7 +19,7 @@ INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES
|
|||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('autoMemberNum',1,'If ON, patron number is auto-calculated','','YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BiblioDefaultView','normal','Choose the default detail view in the catalog; choose between normal, marc or isbd','normal|marc|isbd','Choice');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BorrowerMandatoryField','zipcode|surname|cardnumber','Choose the mandatory fields for a patron\'s account',NULL,'free');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('borrowerRelationship','father|mother','Define valid relationships between a guarantor & a guarantee (separated by | or ,)','','free');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('borrowerRelationship','Vater|Mutter','Define valid relationships between a guarantor & a guarantee (separated by | or ,)','','free');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BorrowersLog',1,'If ON, log edit/create/delete actions on patron data',NULL,'YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('casAuthentication', '0', 'Enable or disable CAS authentication', '', 'YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('casLogout', '0', 'Does a logout from Koha should also log the user out of CAS?', '', 'YesNo');
|
||||
|
|
@ -50,11 +49,9 @@ INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES
|
|||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('itemcallnumber','082ab','The MARC field/subfield that is used to calculate the itemcallnumber (Dewey would be 082ab or 092ab; LOC would be 050ab or 090ab) could be 852hi from an item record',NULL,'free');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('DefaultClassificationSource','ddc','Default classification scheme used by the collection. E.g., Dewey, LCC, etc.', NULL,'ClassSources');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('KohaAdminEmailAddress','root@localhost','Define the email address where patron modification requests are sent','','free');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('kohaspsuggest','','Track search queries, turn on by defining host:dbname:user:pass','','');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('LabelMARCView','standard','Define how a MARC record will display','standard|economical','Choice');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('LetterLog',1,'If ON, log all notices sent',NULL,'YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('LibraryName','','Define the library name as displayed on the OPAC','','');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('marc',1,'Turn on MARC support',NULL,'YesNo');
|
||||
|
||||
-- this is selected by the web installer now
|
||||
-- INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('marcflavour','MARC21','Define global MARC flavor (MARC21 or UNIMARC) used for character encoding','MARC21|UNIMARC','Choice');
|
||||
|
|
@ -63,7 +60,6 @@ INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES
|
|||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('maxoutstanding',5,'maximum amount withstanding to be able make holds','','Integer');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('maxreserves',50,'Define maximum number of holds a patron can place','','Integer');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('memberofinstitution',0,'If ON, patrons can be linked to institutions',NULL,'YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('MIME','EXCEL','Define the default application for exporting report data','EXCEL|OPENOFFICE.ORG','Choice');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('noissuescharge',5,'Define maximum amount withstanding before check outs are blocked','','Integer');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('NotifyBorrowerDeparture',30,'Define number of days before expiry where circulation is warned about patron account expiry',NULL,'Integer');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OpacAuthorities',1,'If ON, enables the search authorities link on OPAC',NULL,'YesNo');
|
||||
|
|
@ -94,13 +90,11 @@ INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES
|
|||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('ReturnBeforeExpiry',0,'If ON, checkout will be prevented if returndate is after patron card expiry',NULL,'YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('ReturnLog',1,'If ON, enables the circulation (returns) log',NULL,'YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('reviewson',1,'If ON, enables patron reviews of bibliographic records in the OPAC','','YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('sortbynonfiling',0,'Sort search results by MARC nonfiling characters (deprecated)',NULL,'YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('SpecifyDueDate',1,'Define whether to display \"Specify Due Date\" form in Circulation','','YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('SubscriptionHistory',';','Define the display preference for serials issue history in OPAC','simplified|full','Choice');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('SubscriptionLog',1,'If ON, enables subscriptions log',NULL,'YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('suggestion',1,'If ON, enables patron suggestions feature in OPAC','','YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('template','prog','Define the preferred staff interface template','','Themes');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('TemplateEncoding','utf-8','Globally define the default character encoding','iso-8859-1|utf-8','Choice');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('timeout',12000000,'Inactivity timeout for cookies authentication (in seconds)',NULL,'Integer');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('TransfersMaxDaysWarning',3,'Define the days before a transfer is suspected of having a problem',NULL,'Integer');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('useDaysMode','Calendar','Choose the method for calculating due date: select Calendar to use the holidays module, and Days to ignore the holidays module','Calendar|Days|Datedue','Choice');
|
||||
|
|
@ -132,7 +126,7 @@ INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES
|
|||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('dateformat','us','Define global date format (us mm/dd/yyyy, metric dd/mm/yyy, ISO yyyy/mm/dd)','metric|us|iso','Choice');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('opaclanguages','en','Set the default language in the OPAC.',NULL,'Languages');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('opaclanguagesdisplay',0,'If ON, enables display of Change Language feature on OPAC','','YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BorrowersTitles','Mr|Mrs|Miss|Ms','Define appropriate Titles for patrons',NULL,'free');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BorrowersTitles','Herr|Frau','Define appropriate Titles for patrons',NULL,'free');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('gist',0,'Default Goods and Services tax rate NOT in %, but in numeric form (0.12 for 12%), set to 0 to disable GST','','Integer');
|
||||
-- need AddressType to distinguish between US and other, telephone numbers, maori stuff, sex, nationality, etc.
|
||||
-- LDAP ? required fields?
|
||||
|
|
@ -147,8 +141,6 @@ INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES
|
|||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('minPasswordLength',3,'Specify the minimum length of a patron/staff password',NULL,'free');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('noItemTypeImages',0,'If ON, disables item-type images',NULL,'YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('emailLibrarianWhenHoldIsPlaced',0,'If ON, emails the librarian whenever a hold is placed',NULL,'YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('holdCancelLength','','Specify how many days before a hold is canceled',NULL,'Integer');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('libraryAddress','','The address to use for printing receipts, overdues, etc. if different than physical address',NULL,'free');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('numReturnedItemsToShow','20','Number of returned items to show on the check-in page',NULL,'Integer');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('finesMode','test','Choose the fines mode, \'off\', \'test\' (emails admin report) or \'production\' (accrue overdue fines). Requires accruefines cronjob.','off|test|production','Choice');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('globalDueDate','','If set, allows a global static due date for all checkouts','10','free');
|
||||
|
|
@ -156,8 +148,6 @@ INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES
|
|||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('itemBarcodeInputFilter','','If set, allows specification of a item barcode input filter','whitespace|T-prefix|cuecat','Choice');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('singleBranchMode',0,'Operate in Single-branch mode, hide branch selection in the OPAC',NULL,'YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('URLLinkText','','Text to display as the link anchor in the OPAC',NULL,'free');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OPACSubscriptionDisplay','economical','Specify how to display subscription information in the OPAC','economical|off|full','Choice');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OPACDisplayExtendedSubInfo',1,'If ON, extended subscription information is displayed in the OPAC',NULL,'YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OPACViewOthersSuggestions',0,'If ON, allows all suggestions to be displayed in the OPAC',NULL,'YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OPACURLOpenInNewWindow',0,'If ON, URLs in the OPAC open in a new window',NULL,'YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OPACUserCSS','','Add CSS to be included in the OPAC in an embedded <style> tag.',NULL,'free');
|
||||
|
|
@ -180,7 +170,6 @@ INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES
|
|||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OAI-PMH','0','if ON, OAI-PMH server is enabled',NULL,'YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OAI-PMH:archiveID','KOHA-OAI-TEST','OAI-PMH archive identification',NULL,'Free');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OAI-PMH:MaxCount','50','OAI-PMH maximum number of records by answer to ListRecords and ListIdentifiers queries',NULL,'Integer');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OAI-PMH:Set','SET,Experimental set\r\nSET:SUBSET,Experimental subset','OAI-PMH exported set, the set name is followed by a comma and a short description, one set by line','30|10','Textarea');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OAI-PMH:ConfFile','','If empty, Koha OAI Server operates in normal mode, otherwise it operates in extended mode.',NULL,'File');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OPACItemHolds','1','Allow OPAC users to place hold on specific items. If OFF, users can only request next available copy.','','YesNo');
|
||||
|
||||
|
|
@ -221,7 +210,6 @@ INSERT INTO `systempreferences` (variable,value,options,explanation,type) VALUES
|
|||
-- FIXME: add FrameworksLoaded, noOPACUserLogin?
|
||||
INSERT INTO `systempreferences` (variable,value,options,explanation,type) VALUES ('SMSSendDriver','','','Sets which SMS::Send driver is used to send SMS messages.','free');
|
||||
INSERT INTO `systempreferences` (variable,value,options,explanation,type) VALUES ('OrderPdfFormat','pdfformat::layout3pages','Controls what script is used for printing (basketgroups)','','free');
|
||||
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ('OrderPdfTemplate','','Uploads a PDF template to use for printing baskets','NULL','Upload');
|
||||
INSERT INTO `systempreferences` (variable,value,options,explanation,type) VALUES ('CurrencyFormat','US','US|FR','Determines the display format of currencies. eg: \'36000\' is displayed as \'360 000,00\' in \'FR\' or \'360,000.00\' in \'US\'.','Choice');
|
||||
INSERT INTO `systempreferences` (variable,value,options,explanation,type) VALUES ('AcqCreateItem','ordering','ordering|receiving|cataloguing','Define when the item is created : when ordering, when receiving, or in cataloguing module','Choice');
|
||||
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('AllowRenewalLimitOverride', '0', 'if ON, allows renewal limits to be overridden on the circulation screen',NULL,'YesNo');
|
||||
|
|
@ -283,6 +271,6 @@ INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES
|
|||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('soundon','0','Enable circulation sounds during checkin and checkout in the staff interface. Not supported by all web browsers yet.','','YesNo');
|
||||
INSERT INTO `systempreferences` ( `variable` , `value` , `options` , `explanation` , `type` ) VALUES ( 'PrintNoticesMaxLines', '0', '', 'If greater than 0, sets the maximum number of lines an overdue notice will print. If the number of items is greater than this number, the notice will end with a warning asking the borrower to check their online account for a full list of overdue items.', 'Integer' );
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('ILS-DI','0','Enables ILS-DI services at OPAC.','','YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('ILS-DI:Authorized_IPs','','.','Restricts usage of ILS-DI to some IPs','Free');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('ILS-DI:AuthorizedIPs','','.','Restricts usage of ILS-DI to some IPs','Free');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('OverduesBlockCirc','noblock','When checking out an item should overdues block checkout, generate a confirmation dialogue, or allow checkout','noblock|confirmation|block','Choice');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('DisplayMultiPlaceHold','1','Display the ability to place multiple holds or not','','YesNo');
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ INSERT INTO language_subtag_registry( subtag, type, description, added)
|
|||
VALUES ( 'hy', 'language', 'Armenian','2005-10-16');
|
||||
|
||||
INSERT INTO language_rfc4646_to_iso639(rfc4646_subtag,iso639_2_code)
|
||||
VALUES( 'hy','hy');
|
||||
VALUES( 'hy','arm');
|
||||
|
||||
INSERT INTO language_descriptions(subtag, type, lang, description)
|
||||
VALUES ( 'hy', 'language', 'hy', 'Հայերէն');
|
||||
|
|
@ -164,7 +164,7 @@ INSERT INTO language_subtag_registry( subtag, type, description, added)
|
|||
VALUES ( 'en', 'language', 'English','2005-10-16' );
|
||||
|
||||
INSERT INTO language_rfc4646_to_iso639(rfc4646_subtag,iso639_2_code)
|
||||
VALUES( 'en','en');
|
||||
VALUES( 'en','eng');
|
||||
|
||||
INSERT INTO language_descriptions(subtag, type, lang, description)
|
||||
VALUES( 'en', 'language', 'en', 'English');
|
||||
|
|
@ -172,10 +172,13 @@ VALUES( 'en', 'language', 'en', 'English');
|
|||
INSERT INTO language_descriptions(subtag, type, lang, description)
|
||||
VALUES( 'en', 'language', 'fr', 'Anglais');
|
||||
|
||||
-- English
|
||||
-- Finnish
|
||||
INSERT INTO language_subtag_registry( subtag, type, description, added)
|
||||
VALUES ( 'fi', 'language', 'Finnish','2005-10-16' );
|
||||
|
||||
INSERT INTO language_rfc4646_to_iso639(rfc4646_subtag,iso639_2_code)
|
||||
VALUES( 'fi','fin');
|
||||
|
||||
INSERT INTO language_descriptions(subtag, type, lang, description)
|
||||
VALUES( 'fi', 'language', 'fi', 'suomi');
|
||||
|
||||
|
|
@ -187,7 +190,7 @@ INSERT INTO language_subtag_registry( subtag, type, description, added)
|
|||
VALUES ( 'fr', 'language', 'French','2005-10-16' );
|
||||
|
||||
INSERT INTO language_rfc4646_to_iso639(rfc4646_subtag,iso639_2_code)
|
||||
VALUES( 'fr','fr');
|
||||
VALUES( 'fr','fre');
|
||||
|
||||
INSERT INTO language_descriptions(subtag, type, lang, description)
|
||||
VALUES( 'fr', 'language', 'en', 'French');
|
||||
|
|
@ -202,8 +205,8 @@ VALUES( 'fr', 'language', 'fr', 'Français');
|
|||
INSERT INTO language_subtag_registry( subtag, type, description, added)
|
||||
VALUES ( 'lo', 'language', 'Lao','2005-10-16' );
|
||||
|
||||
-- INSERT INTO language_rfc4646_to_iso639(rfc4646_subtag,iso639_2_code)
|
||||
-- VALUES( 'lo','nor'); ???
|
||||
INSERT INTO language_rfc4646_to_iso639(rfc4646_subtag,iso639_2_code)
|
||||
VALUES( 'lo','lao');
|
||||
|
||||
INSERT INTO language_descriptions(subtag, type, lang, description)
|
||||
VALUES( 'lo', 'language', 'lo', 'ພາສາລາວ');
|
||||
|
|
@ -312,7 +315,7 @@ INSERT INTO language_subtag_registry( subtag, type, description, added)
|
|||
VALUES ( 'it', 'language', 'Italian','2005-10-16' );
|
||||
|
||||
INSERT INTO language_rfc4646_to_iso639(rfc4646_subtag,iso639_2_code)
|
||||
VALUES( 'it','ind');
|
||||
VALUES( 'it','ita');
|
||||
|
||||
INSERT INTO language_descriptions(subtag, type, lang, description)
|
||||
VALUES( 'it', 'language', 'it', 'Italiano');
|
||||
|
|
@ -371,7 +374,7 @@ VALUES( 'la', 'language', 'en', 'Latin');
|
|||
INSERT INTO language_descriptions(subtag, type, lang, description)
|
||||
VALUES( 'la', 'language', 'fr', 'Latin');
|
||||
|
||||
-- Galacian
|
||||
-- Galician
|
||||
|
||||
INSERT INTO language_subtag_registry( subtag, type, description, added)
|
||||
VALUES ( 'gl', 'language', 'Galician','2005-10-16' );
|
||||
|
|
@ -485,6 +488,9 @@ VALUES( 'ru', 'language', 'fr', 'Russe');
|
|||
INSERT INTO language_subtag_registry( subtag, type, description, added)
|
||||
VALUES ( 'sr', 'language', 'Serbian','2005-10-16' );
|
||||
|
||||
INSERT INTO language_rfc4646_to_iso639(rfc4646_subtag,iso639_2_code)
|
||||
VALUES( 'sr','srp');
|
||||
|
||||
INSERT INTO language_descriptions(subtag, type, lang, description)
|
||||
VALUES( 'sr', 'language', 'sr', 'српски');
|
||||
|
||||
|
|
@ -527,6 +533,9 @@ VALUES( 'sv', 'language', 'fr', 'Suédois');
|
|||
INSERT INTO language_subtag_registry( subtag, type, description, added)
|
||||
VALUES ( 'tet', 'language', 'Tetum','2005-10-16' );
|
||||
|
||||
INSERT INTO language_rfc4646_to_iso639(rfc4646_subtag,iso639_2_code)
|
||||
VALUES( 'tet','tet');
|
||||
|
||||
INSERT INTO language_descriptions(subtag, type, lang, description)
|
||||
VALUES( 'tet', 'language', 'tet', 'tetun');
|
||||
|
||||
|
|
@ -582,10 +591,13 @@ VALUES( 'uk', 'language', 'en', 'Ukranian');
|
|||
INSERT INTO language_descriptions(subtag, type, lang, description)
|
||||
VALUES( 'uk', 'language', 'fr', 'Ukrainien');
|
||||
|
||||
-- English
|
||||
-- Urdu
|
||||
INSERT INTO language_subtag_registry( subtag, type, description, added)
|
||||
VALUES ( 'ur', 'language', 'Urdu','2005-10-16' );
|
||||
|
||||
INSERT INTO language_rfc4646_to_iso639(rfc4646_subtag,iso639_2_code)
|
||||
VALUES( 'ur','urd');
|
||||
|
||||
INSERT INTO language_descriptions(subtag, type, lang, description)
|
||||
VALUES( 'ur', 'language', 'en', 'Urdu');
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('acquisitions','normal','Choose Normal, budget-based acquisitions, or Simple bibliographic-data acquisitions','simple|normal','Choice');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('advancedMARCeditor',0,"If ON, the MARC editor won't display field/subfield descriptions",'','YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('AllowHoldDateInFuture','0','If set a date field is displayed on the Hold screen of the Staff Interface, allowing the hold date to be set in the future.','','YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('OPACAllowHoldDateInFuture','0','If set, along with the AllowHoldDateInFuture system preference, OPAC users can set the date of a hold to be in the future.','','YesNo');
|
||||
|
|
@ -50,11 +49,9 @@ INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES
|
|||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('itemcallnumber','082ab','The MARC field/subfield that is used to calculate the itemcallnumber (Dewey would be 082ab or 092ab; LOC would be 050ab or 090ab) could be 852hi from an item record',NULL,'free');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('DefaultClassificationSource','ddc','Default classification scheme used by the collection. E.g., Dewey, LCC, etc.', NULL,'ClassSources');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('KohaAdminEmailAddress','root@localhost','Define the email address where patron modification requests are sent','','free');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('kohaspsuggest','','Track search queries, turn on by defining host:dbname:user:pass','','');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('LabelMARCView','standard','Define how a MARC record will display','standard|economical','Choice');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('LetterLog',1,'If ON, log all notices sent',NULL,'YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('LibraryName','','Define the library name as displayed on the OPAC','','');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('marc',1,'Turn on MARC support',NULL,'YesNo');
|
||||
|
||||
-- this is selected by the web installer now
|
||||
-- INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('marcflavour','MARC21','Define global MARC flavor (MARC21 or UNIMARC) used for character encoding','MARC21|UNIMARC','Choice');
|
||||
|
|
@ -63,7 +60,6 @@ INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES
|
|||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('maxoutstanding',5,'maximum amount withstanding to be able make holds','','Integer');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('maxreserves',50,'Define maximum number of holds a patron can place','','Integer');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('memberofinstitution',0,'If ON, patrons can be linked to institutions',NULL,'YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('MIME','EXCEL','Define the default application for exporting report data','EXCEL|OPENOFFICE.ORG','Choice');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('noissuescharge',5,'Define maximum amount withstanding before check outs are blocked','','Integer');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('NotifyBorrowerDeparture',30,'Define number of days before expiry where circulation is warned about patron account expiry',NULL,'Integer');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OpacAuthorities',1,'If ON, enables the search authorities link on OPAC',NULL,'YesNo');
|
||||
|
|
@ -71,7 +67,7 @@ INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES
|
|||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('intranetbookbag','1','If ON, enables display of Cart feature in the intranet','','YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OpacBrowser',0,'If ON, enables subject authorities browser on OPAC (needs to set misc/cronjob/sbuild_browser_and_cloud.pl)',NULL,'YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OpacCloud',0,'If ON, enables subject cloud on OPAC',NULL,'YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('opaccolorstylesheet','colors.css','Define the color stylesheet to use in the OPAC','','free');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('opaccolorstylesheet','colors.css','Define an auxiliary stylesheet for OPAC use, to override specified settings from the primary opac.css stylesheet. Enter the filename (if the file is in the server's css directory) or a complete URL beginning with http (if the file lives on a remote server).','','free');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('opaccredits','','Define HTML Credits at the bottom of the OPAC page','70|10','Textarea');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('opacSerialDefaultTab', 'subscriptions', 'Define the default tab for serials in OPAC.', 'holdings|serialcollection|subscriptions', 'Choice');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('opacheader','','Add HTML to be included as a custom header in the OPAC','70|10','Textarea');
|
||||
|
|
@ -94,13 +90,11 @@ INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES
|
|||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('ReturnBeforeExpiry',0,'If ON, checkout will be prevented if returndate is after patron card expiry',NULL,'YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('ReturnLog',1,'If ON, enables the circulation (returns) log',NULL,'YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('reviewson',1,'If ON, enables patron reviews of bibliographic records in the OPAC','','YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('sortbynonfiling',0,'Sort search results by MARC nonfiling characters (deprecated)',NULL,'YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('SpecifyDueDate',1,'Define whether to display \"Specify Due Date\" form in Circulation','','YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('SubscriptionHistory',';','Define the display preference for serials issue history in OPAC','simplified|full','Choice');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('SubscriptionLog',1,'If ON, enables subscriptions log',NULL,'YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('suggestion',1,'If ON, enables patron suggestions feature in OPAC','','YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('template','prog','Define the preferred staff interface template','','Themes');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('TemplateEncoding','utf-8','Globally define the default character encoding','iso-8859-1|utf-8','Choice');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('timeout',12000000,'Inactivity timeout for cookies authentication (in seconds)',NULL,'Integer');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('TransfersMaxDaysWarning',3,'Define the days before a transfer is suspected of having a problem',NULL,'Integer');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('useDaysMode','Calendar','Choose the method for calculating due date: select Calendar to use the holidays module, and Days to ignore the holidays module','Calendar|Days|Datedue','Choice');
|
||||
|
|
@ -147,8 +141,6 @@ INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES
|
|||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('minPasswordLength',3,'Specify the minimum length of a patron/staff password',NULL,'free');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('noItemTypeImages',0,'If ON, disables item-type images',NULL,'YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('emailLibrarianWhenHoldIsPlaced',0,'If ON, emails the librarian whenever a hold is placed',NULL,'YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('holdCancelLength','','Specify how many days before a hold is canceled',NULL,'Integer');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('libraryAddress','','The address to use for printing receipts, overdues, etc. if different than physical address',NULL,'free');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('numReturnedItemsToShow','20','Number of returned items to show on the check-in page',NULL,'Integer');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('finesMode','test','Choose the fines mode, \'off\', \'test\' (emails admin report) or \'production\' (accrue overdue fines). Requires accruefines cronjob.','off|test|production','Choice');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('globalDueDate','','If set, allows a global static due date for all checkouts','10','free');
|
||||
|
|
@ -156,8 +148,6 @@ INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES
|
|||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('itemBarcodeInputFilter','','If set, allows specification of a item barcode input filter','whitespace|T-prefix|cuecat','Choice');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('singleBranchMode',0,'Operate in Single-branch mode, hide branch selection in the OPAC',NULL,'YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('URLLinkText','','Text to display as the link anchor in the OPAC',NULL,'free');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OPACSubscriptionDisplay','economical','Specify how to display subscription information in the OPAC','economical|off|full','Choice');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OPACDisplayExtendedSubInfo',1,'If ON, extended subscription information is displayed in the OPAC',NULL,'YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OPACViewOthersSuggestions',0,'If ON, allows all suggestions to be displayed in the OPAC',NULL,'YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OPACURLOpenInNewWindow',0,'If ON, URLs in the OPAC open in a new window',NULL,'YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OPACUserCSS','','Add CSS to be included in the OPAC in an embedded <style> tag.',NULL,'free');
|
||||
|
|
@ -175,12 +165,12 @@ INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES
|
|||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OpacRenewalAllowed',0,'If ON, users can renew their issues directly from their OPAC account',NULL,'YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('PatronsPerPage','20','Number of Patrons Per Page displayed by default','20','Integer');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('HomeOrHoldingBranch','holdingbranch','Used by Circulation to determine which branch of an item to check with independent branches on, and by search to determine which branch to choose for availability ','holdingbranch|homebranch','Choice');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('HomeOrHoldingBranchReturn','homebranch','Used by Circulation to determine which branch of an item to check checking-in items','holdingbranch|homebranch','Choice');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OpacHighlightedWords','1','If Set, then queried words are higlighted in OPAC','','YesNo');
|
||||
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OAI-PMH','0','if ON, OAI-PMH server is enabled',NULL,'YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OAI-PMH:archiveID','KOHA-OAI-TEST','OAI-PMH archive identification',NULL,'Free');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OAI-PMH:MaxCount','50','OAI-PMH maximum number of records by answer to ListRecords and ListIdentifiers queries',NULL,'Integer');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OAI-PMH:Set','SET,Experimental set\r\nSET:SUBSET,Experimental subset','OAI-PMH exported set, the set name is followed by a comma and a short description, one set by line','30|10','Textarea');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OAI-PMH:ConfFile','','If empty, Koha OAI Server operates in normal mode, otherwise it operates in extended mode.',NULL,'File');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OPACItemHolds','1','Allow OPAC users to place hold on specific items. If OFF, users can only request next available copy.','','YesNo');
|
||||
|
||||
|
|
@ -221,7 +211,6 @@ INSERT INTO `systempreferences` (variable,value,options,explanation,type) VALUES
|
|||
-- FIXME: add FrameworksLoaded, noOPACUserLogin?
|
||||
INSERT INTO `systempreferences` (variable,value,options,explanation,type) VALUES ('SMSSendDriver','','','Sets which SMS::Send driver is used to send SMS messages.','free');
|
||||
INSERT INTO `systempreferences` (variable,value,options,explanation,type) VALUES ('OrderPdfFormat','pdfformat::layout3pages','Controls what script is used for printing (basketgroups)','','free');
|
||||
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ('OrderPdfTemplate','','Uploads a PDF template to use for printing baskets','NULL','Upload');
|
||||
INSERT INTO `systempreferences` (variable,value,options,explanation,type) VALUES ('CurrencyFormat','US','US|FR','Determines the display format of currencies. eg: \'36000\' is displayed as \'360 000,00\' in \'FR\' or \'360,000.00\' in \'US\'.','Choice');
|
||||
INSERT INTO `systempreferences` (variable,value,options,explanation,type) VALUES ('AcqCreateItem','ordering','ordering|receiving|cataloguing','Define when the item is created : when ordering, when receiving, or in cataloguing module','Choice');
|
||||
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('AllowRenewalLimitOverride', '0', 'if ON, allows renewal limits to be overridden on the circulation screen',NULL,'YesNo');
|
||||
|
|
@ -283,6 +272,6 @@ INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES
|
|||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('soundon','0','Enable circulation sounds during checkin and checkout in the staff interface. Not supported by all web browsers yet.','','YesNo');
|
||||
INSERT INTO `systempreferences` ( `variable` , `value` , `options` , `explanation` , `type` ) VALUES ( 'PrintNoticesMaxLines', '0', '', 'If greater than 0, sets the maximum number of lines an overdue notice will print. If the number of items is greater than this number, the notice will end with a warning asking the borrower to check their online account for a full list of overdue items.', 'Integer' );
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('ILS-DI','0','Enables ILS-DI services at OPAC.','','YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('ILS-DI:Authorized_IPs','','.','Restricts usage of ILS-DI to some IPs','Free');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('ILS-DI:AuthorizedIPs','','.','Restricts usage of ILS-DI to some IPs','Free');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('OverduesBlockCirc','noblock','When checking out an item should overdues block checkout, generate a confirmation dialogue, or allow checkout','noblock|confirmation|block','Choice');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('DisplayMultiPlaceHold','1','Display the ability to place multiple holds or not','','YesNo');
|
||||
|
|
|
|||
|
|
@ -1895,9 +1895,9 @@ INSERT INTO `marc_subfield_structure` (`tagfield`, `tagsubfield`, `liblibrarian`
|
|||
('658', '2', 'Source of term', 'Source of term', 0, 0, '', 6, '', '', '', NULL, -6, '', '', '', NULL),
|
||||
('658', '6', 'Linkage', 'Linkage', 0, 0, '', 6, '', '', '', NULL, -6, '', '', '', NULL),
|
||||
('658', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 6, '', '', '', NULL, -6, '', '', '', NULL),
|
||||
('658', 'a', 'Main curriculum objective', 'Main curriculum objective', 0, 0, '', 6, '', 'TOPIC_TERM', '', NULL, -6, '', '', '', NULL),
|
||||
('658', 'b', 'Subordinate curriculum objective', 'Subordinate curriculum objective', 1, 0, '', 6, '', '', '', NULL, -6, '', '', '', NULL),
|
||||
('658', 'c', 'Curriculum code', 'Curriculum code', 0, 0, '', 6, '', '', '', NULL, -6, '', '', '', NULL),
|
||||
('658', 'a', 'Main curriculum objective', 'Main curriculum objective', 0, 0, '', 6, '', 'TOPIC_TERM', '', NULL, 0, '', '', '', NULL),
|
||||
('658', 'b', 'Subordinate curriculum objective', 'Subordinate curriculum objective', 1, 0, '', 6, '', '', '', NULL, 0, '', '', '', NULL),
|
||||
('658', 'c', 'Curriculum code', 'Curriculum code', 0, 0, '', 6, '', '', '', NULL, 0, '', '', '', NULL),
|
||||
('658', 'd', 'Correlation factor', 'Correlation factor', 0, 0, '', 6, '', '', '', NULL, -6, '', '', '', NULL),
|
||||
('662', '2', 'Source of term', 'Source of term', 0, 0, '', 6, '', '', '', NULL, 0, '', '', '', NULL),
|
||||
('662', '3', 'Materials specified', 'Materials specified', 0, 0, '', 6, '', '', '', NULL, -6, '', '', '', NULL),
|
||||
|
|
|
|||
|
|
@ -1920,9 +1920,9 @@ INSERT INTO `marc_subfield_structure` (`tagfield`, `tagsubfield`, `liblibrarian`
|
|||
('658', '2', 'Source of term', 'Source of term', 0, 0, '', 6, '', '', '', NULL, -1, 'BKS', '', '', NULL),
|
||||
('658', '6', 'Linkage', 'Linkage', 0, 0, '', 6, '', '', '', NULL, -6, 'BKS', '', '', NULL),
|
||||
('658', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 6, '', '', '', NULL, -6, 'BKS', '', '', NULL),
|
||||
('658', 'a', 'Main curriculum objective', 'Main curriculum objective', 0, 0, '', 6, '', 'TOPIC_TERM', '', NULL, -1, 'BKS', '', '', NULL),
|
||||
('658', 'b', 'Subordinate curriculum objective', 'Subordinate curriculum objective', 1, 0, '', 6, '', '', '', NULL, -1, 'BKS', '', '', NULL),
|
||||
('658', 'c', 'Curriculum code', 'Curriculum code', 0, 0, '', 6, '', '', '', NULL, -1, 'BKS', '', '', NULL),
|
||||
('658', 'a', 'Main curriculum objective', 'Main curriculum objective', 0, 0, '', 6, '', 'TOPIC_TERM', '', NULL, 0, 'BKS', '', '', NULL),
|
||||
('658', 'b', 'Subordinate curriculum objective', 'Subordinate curriculum objective', 1, 0, '', 6, '', '', '', NULL, 0, 'BKS', '', '', NULL),
|
||||
('658', 'c', 'Curriculum code', 'Curriculum code', 0, 0, '', 6, '', '', '', NULL, 0, 'BKS', '', '', NULL),
|
||||
('658', 'd', 'Correlation factor', 'Correlation factor', 0, 0, '', 6, '', '', '', NULL, -1, 'BKS', '', '', NULL),
|
||||
('662', '2', 'Source of term', 'Source of term', 0, 0, '', 6, '', '', '', NULL, -6, 'BKS', '', '', NULL),
|
||||
('662', '3', 'Materials specified', 'Materials specified', 0, 0, '', 6, '', '', '', NULL, -6, 'BKS', '', '', NULL),
|
||||
|
|
@ -5841,9 +5841,9 @@ INSERT INTO `marc_subfield_structure` (`tagfield`, `tagsubfield`, `liblibrarian`
|
|||
('658', '2', 'Source of term', 'Source of term', 0, 0, '', 6, '', '', '', NULL, -1, 'CF', '', '', NULL),
|
||||
('658', '6', 'Linkage', 'Linkage', 0, 0, '', 6, '', '', '', NULL, -6, 'CF', '', '', NULL),
|
||||
('658', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 6, '', '', '', NULL, -6, 'CF', '', '', NULL),
|
||||
('658', 'a', 'Main curriculum objective', 'Main curriculum objective', 0, 0, '', 6, '', 'TOPIC_TERM', '', NULL, -1, 'CF', '', '', NULL),
|
||||
('658', 'b', 'Subordinate curriculum objective', 'Subordinate curriculum objective', 1, 0, '', 6, '', '', '', NULL, -1, 'CF', '', '', NULL),
|
||||
('658', 'c', 'Curriculum code', 'Curriculum code', 0, 0, '', 6, '', '', '', NULL, -1, 'CF', '', '', NULL),
|
||||
('658', 'a', 'Main curriculum objective', 'Main curriculum objective', 0, 0, '', 6, '', 'TOPIC_TERM', '', NULL, 0, 'CF', '', '', NULL),
|
||||
('658', 'b', 'Subordinate curriculum objective', 'Subordinate curriculum objective', 1, 0, '', 6, '', '', '', NULL, 0, 'CF', '', '', NULL),
|
||||
('658', 'c', 'Curriculum code', 'Curriculum code', 0, 0, '', 6, '', '', '', NULL, 0, 'CF', '', '', NULL),
|
||||
('658', 'd', 'Correlation factor', 'Correlation factor', 0, 0, '', 6, '', '', '', NULL, -1, 'CF', '', '', NULL),
|
||||
('662', '2', 'Source of term', 'Source of term', 0, 0, '', 6, '', '', '', NULL, -6, 'CF', '', '', NULL),
|
||||
('662', '3', 'Materials specified', 'Materials specified', 0, 0, '', 6, '', '', '', NULL, -6, 'CF', '', '', NULL),
|
||||
|
|
@ -9761,9 +9761,9 @@ INSERT INTO `marc_subfield_structure` (`tagfield`, `tagsubfield`, `liblibrarian`
|
|||
('658', '2', 'Source of term', 'Source of term', 0, 0, '', 6, '', '', '', NULL, -1, 'SR', '', '', NULL),
|
||||
('658', '6', 'Linkage', 'Linkage', 0, 0, '', 6, '', '', '', NULL, -6, 'SR', '', '', NULL),
|
||||
('658', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 6, '', '', '', NULL, -6, 'SR', '', '', NULL),
|
||||
('658', 'a', 'Main curriculum objective', 'Main curriculum objective', 0, 0, '', 6, '', 'TOPIC_TERM', '', NULL, -1, 'SR', '', '', NULL),
|
||||
('658', 'b', 'Subordinate curriculum objective', 'Subordinate curriculum objective', 1, 0, '', 6, '', '', '', NULL, -1, 'SR', '', '', NULL),
|
||||
('658', 'c', 'Curriculum code', 'Curriculum code', 0, 0, '', 6, '', '', '', NULL, -1, 'SR', '', '', NULL),
|
||||
('658', 'a', 'Main curriculum objective', 'Main curriculum objective', 0, 0, '', 6, '', 'TOPIC_TERM', '', NULL, 0, 'SR', '', '', NULL),
|
||||
('658', 'b', 'Subordinate curriculum objective', 'Subordinate curriculum objective', 1, 0, '', 6, '', '', '', NULL, 0, 'SR', '', '', NULL),
|
||||
('658', 'c', 'Curriculum code', 'Curriculum code', 0, 0, '', 6, '', '', '', NULL, 0, 'SR', '', '', NULL),
|
||||
('658', 'd', 'Correlation factor', 'Correlation factor', 0, 0, '', 6, '', '', '', NULL, -1, 'SR', '', '', NULL),
|
||||
('662', '2', 'Source of term', 'Source of term', 0, 0, '', 6, '', '', '', NULL, -6, 'SR', '', '', NULL),
|
||||
('662', '3', 'Materials specified', 'Materials specified', 0, 0, '', 6, '', '', '', NULL, -6, 'SR', '', '', NULL),
|
||||
|
|
@ -13681,9 +13681,9 @@ INSERT INTO `marc_subfield_structure` (`tagfield`, `tagsubfield`, `liblibrarian`
|
|||
('658', '2', 'Source of term', 'Source of term', 0, 0, '', 6, '', '', '', NULL, -1, 'VR', '', '', NULL),
|
||||
('658', '6', 'Linkage', 'Linkage', 0, 0, '', 6, '', '', '', NULL, -6, 'VR', '', '', NULL),
|
||||
('658', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 6, '', '', '', NULL, -6, 'VR', '', '', NULL),
|
||||
('658', 'a', 'Main curriculum objective', 'Main curriculum objective', 0, 0, '', 6, '', 'TOPIC_TERM', '', NULL, -1, 'VR', '', '', NULL),
|
||||
('658', 'b', 'Subordinate curriculum objective', 'Subordinate curriculum objective', 1, 0, '', 6, '', '', '', NULL, -1, 'VR', '', '', NULL),
|
||||
('658', 'c', 'Curriculum code', 'Curriculum code', 0, 0, '', 6, '', '', '', NULL, -1, 'VR', '', '', NULL),
|
||||
('658', 'a', 'Main curriculum objective', 'Main curriculum objective', 0, 0, '', 6, '', 'TOPIC_TERM', '', NULL, 0, 'VR', '', '', NULL),
|
||||
('658', 'b', 'Subordinate curriculum objective', 'Subordinate curriculum objective', 1, 0, '', 6, '', '', '', NULL, 0, 'VR', '', '', NULL),
|
||||
('658', 'c', 'Curriculum code', 'Curriculum code', 0, 0, '', 6, '', '', '', NULL, 0, 'VR', '', '', NULL),
|
||||
('658', 'd', 'Correlation factor', 'Correlation factor', 0, 0, '', 6, '', '', '', NULL, -1, 'VR', '', '', NULL),
|
||||
('662', '2', 'Source of term', 'Source of term', 0, 0, '', 6, '', '', '', NULL, -6, 'VR', '', '', NULL),
|
||||
('662', '3', 'Materials specified', 'Materials specified', 0, 0, '', 6, '', '', '', NULL, -6, 'VR', '', '', NULL),
|
||||
|
|
@ -17599,9 +17599,9 @@ INSERT INTO `marc_subfield_structure` (`tagfield`, `tagsubfield`, `liblibrarian`
|
|||
('658', '2', 'Source of term', 'Source of term', 0, 0, '', 6, '', '', '', NULL, -1, 'AR', '', '', NULL),
|
||||
('658', '6', 'Linkage', 'Linkage', 0, 0, '', 6, '', '', '', NULL, -6, 'AR', '', '', NULL),
|
||||
('658', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 6, '', '', '', NULL, -6, 'AR', '', '', NULL),
|
||||
('658', 'a', 'Main curriculum objective', 'Main curriculum objective', 0, 0, '', 6, '', 'TOPIC_TERM', '', NULL, -1, 'AR', '', '', NULL),
|
||||
('658', 'b', 'Subordinate curriculum objective', 'Subordinate curriculum objective', 1, 0, '', 6, '', '', '', NULL, -1, 'AR', '', '', NULL),
|
||||
('658', 'c', 'Curriculum code', 'Curriculum code', 0, 0, '', 6, '', '', '', NULL, -1, 'AR', '', '', NULL),
|
||||
('658', 'a', 'Main curriculum objective', 'Main curriculum objective', 0, 0, '', 6, '', 'TOPIC_TERM', '', NULL, 0, 'AR', '', '', NULL),
|
||||
('658', 'b', 'Subordinate curriculum objective', 'Subordinate curriculum objective', 1, 0, '', 6, '', '', '', NULL, 0, 'AR', '', '', NULL),
|
||||
('658', 'c', 'Curriculum code', 'Curriculum code', 0, 0, '', 6, '', '', '', NULL, 0, 'AR', '', '', NULL),
|
||||
('658', 'd', 'Correlation factor', 'Correlation factor', 0, 0, '', 6, '', '', '', NULL, -1, 'AR', '', '', NULL),
|
||||
('662', '2', 'Source of term', 'Source of term', 0, 0, '', 6, '', '', '', NULL, -6, 'AR', '', '', NULL),
|
||||
('662', '3', 'Materials specified', 'Materials specified', 0, 0, '', 6, '', '', '', NULL, -6, 'AR', '', '', NULL),
|
||||
|
|
@ -21517,9 +21517,9 @@ INSERT INTO `marc_subfield_structure` (`tagfield`, `tagsubfield`, `liblibrarian`
|
|||
('658', '2', 'Source of term', 'Source of term', 0, 0, '', 6, '', '', '', NULL, -1, 'KT', '', '', NULL),
|
||||
('658', '6', 'Linkage', 'Linkage', 0, 0, '', 6, '', '', '', NULL, -6, 'KT', '', '', NULL),
|
||||
('658', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 6, '', '', '', NULL, -6, 'KT', '', '', NULL),
|
||||
('658', 'a', 'Main curriculum objective', 'Main curriculum objective', 0, 0, '', 6, '', 'TOPIC_TERM', '', NULL, -1, 'KT', '', '', NULL),
|
||||
('658', 'b', 'Subordinate curriculum objective', 'Subordinate curriculum objective', 1, 0, '', 6, '', '', '', NULL, -1, 'KT', '', '', NULL),
|
||||
('658', 'c', 'Curriculum code', 'Curriculum code', 0, 0, '', 6, '', '', '', NULL, -1, 'KT', '', '', NULL),
|
||||
('658', 'a', 'Main curriculum objective', 'Main curriculum objective', 0, 0, '', 6, '', 'TOPIC_TERM', '', NULL, 0, 'KT', '', '', NULL),
|
||||
('658', 'b', 'Subordinate curriculum objective', 'Subordinate curriculum objective', 1, 0, '', 6, '', '', '', NULL, 0, 'KT', '', '', NULL),
|
||||
('658', 'c', 'Curriculum code', 'Curriculum code', 0, 0, '', 6, '', '', '', NULL, 0, 'KT', '', '', NULL),
|
||||
('658', 'd', 'Correlation factor', 'Correlation factor', 0, 0, '', 6, '', '', '', NULL, -1, 'KT', '', '', NULL),
|
||||
('662', '2', 'Source of term', 'Source of term', 0, 0, '', 6, '', '', '', NULL, -6, 'KT', '', '', NULL),
|
||||
('662', '3', 'Materials specified', 'Materials specified', 0, 0, '', 6, '', '', '', NULL, -6, 'KT', '', '', NULL),
|
||||
|
|
@ -25436,9 +25436,9 @@ INSERT INTO `marc_subfield_structure` (`tagfield`, `tagsubfield`, `liblibrarian`
|
|||
('658', '2', 'Source of term', 'Source of term', 0, 0, '', 6, '', '', '', NULL, -1, 'IR', '', '', NULL),
|
||||
('658', '6', 'Linkage', 'Linkage', 0, 0, '', 6, '', '', '', NULL, -6, 'IR', '', '', NULL),
|
||||
('658', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 6, '', '', '', NULL, -6, 'IR', '', '', NULL),
|
||||
('658', 'a', 'Main curriculum objective', 'Main curriculum objective', 0, 0, '', 6, '', 'TOPIC_TERM', '', NULL, -1, 'IR', '', '', NULL),
|
||||
('658', 'b', 'Subordinate curriculum objective', 'Subordinate curriculum objective', 1, 0, '', 6, '', '', '', NULL, -1, 'IR', '', '', NULL),
|
||||
('658', 'c', 'Curriculum code', 'Curriculum code', 0, 0, '', 6, '', '', '', NULL, -1, 'IR', '', '', NULL),
|
||||
('658', 'a', 'Main curriculum objective', 'Main curriculum objective', 0, 0, '', 6, '', 'TOPIC_TERM', '', NULL, 0, 'IR', '', '', NULL),
|
||||
('658', 'b', 'Subordinate curriculum objective', 'Subordinate curriculum objective', 1, 0, '', 6, '', '', '', NULL, 0, 'IR', '', '', NULL),
|
||||
('658', 'c', 'Curriculum code', 'Curriculum code', 0, 0, '', 6, '', '', '', NULL, 0, 'IR', '', '', NULL),
|
||||
('658', 'd', 'Correlation factor', 'Correlation factor', 0, 0, '', 6, '', '', '', NULL, -1, 'IR', '', '', NULL),
|
||||
('662', '2', 'Source of term', 'Source of term', 0, 0, '', 6, '', '', '', NULL, -6, 'IR', '', '', NULL),
|
||||
('662', '3', 'Materials specified', 'Materials specified', 0, 0, '', 6, '', '', '', NULL, -6, 'IR', '', '', NULL),
|
||||
|
|
@ -29351,9 +29351,9 @@ INSERT INTO `marc_subfield_structure` (`tagfield`, `tagsubfield`, `liblibrarian`
|
|||
('658', '2', 'Source of term', 'Source of term', 0, 0, '', 6, '', '', '', NULL, -1, 'SER', '', '', NULL),
|
||||
('658', '6', 'Linkage', 'Linkage', 0, 0, '', 6, '', '', '', NULL, -6, 'SER', '', '', NULL),
|
||||
('658', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 6, '', '', '', NULL, -6, 'SER', '', '', NULL),
|
||||
('658', 'a', 'Main curriculum objective', 'Main curriculum objective', 0, 0, '', 6, '', 'TOPIC_TERM', '', NULL, -1, 'SER', '', '', NULL),
|
||||
('658', 'b', 'Subordinate curriculum objective', 'Subordinate curriculum objective', 1, 0, '', 6, '', '', '', NULL, -1, 'SER', '', '', NULL),
|
||||
('658', 'c', 'Curriculum code', 'Curriculum code', 0, 0, '', 6, '', '', '', NULL, -1, 'SER', '', '', NULL),
|
||||
('658', 'a', 'Main curriculum objective', 'Main curriculum objective', 0, 0, '', 6, '', 'TOPIC_TERM', '', NULL, 0, 'SER', '', '', NULL),
|
||||
('658', 'b', 'Subordinate curriculum objective', 'Subordinate curriculum objective', 1, 0, '', 6, '', '', '', NULL, 0, 'SER', '', '', NULL),
|
||||
('658', 'c', 'Curriculum code', 'Curriculum code', 0, 0, '', 6, '', '', '', NULL, 0, 'SER', '', '', NULL),
|
||||
('658', 'd', 'Correlation factor', 'Correlation factor', 0, 0, '', 6, '', '', '', NULL, -1, 'SER', '', '', NULL),
|
||||
('662', '2', 'Source of term', 'Source of term', 0, 0, '', 6, '', '', '', NULL, -6, 'SER', '', '', NULL),
|
||||
('662', '3', 'Materials specified', 'Materials specified', 0, 0, '', 6, '', '', '', NULL, -6, 'SER', '', '', NULL),
|
||||
|
|
|
|||
|
|
@ -20,6 +20,17 @@
|
|||
-- 2000. It includes the changes published in Update 3." -
|
||||
-- http://www.ifla.org/VI/3/p1996-1/sec-uni.htm .
|
||||
-- 2006-03-15 a
|
||||
|
||||
-- From Zeno Tajoli (2010-08-12):
|
||||
--
|
||||
-- Improved default id Koha field (090) and koha date field (099).
|
||||
-- Insert link to sql coloum biblio.biblionumber in tag 001
|
||||
-- Insert the use of 942, local data
|
||||
-- Insert a standard minimun on 995 (holding field)
|
||||
-- ***********************************************************************
|
||||
|
||||
|
||||
|
||||
-- ***********************************************************************
|
||||
|
||||
|
||||
|
|
@ -49,46 +60,38 @@
|
|||
-- ******************************************************
|
||||
|
||||
|
||||
-- Current Record ID Field/Subfields
|
||||
-- Current Record ID Field/Subfields (090)
|
||||
|
||||
INSERT INTO `marc_tag_structure` (`tagfield`, `liblibrarian`, `libopac`, `repeatable`, `mandatory`, `authorised_value`, `frameworkcode`) VALUES
|
||||
('999', 'System Control Numbers (Koha)', 'System Control Numbers (Koha)', 0, 0, '', '');
|
||||
insert into `marc_tag_structure`(`tagfield`,`liblibrarian`,`libopac`,`repeatable`,`mandatory`,`authorised_value`,`frameworkcode`) values
|
||||
('090','System Control Numbers (Koha)','System Control Numbers (Koha)',0,0,'','');
|
||||
|
||||
INSERT INTO `marc_subfield_structure` (`tagfield`, `tagsubfield`, `liblibrarian`, `libopac`, `repeatable`, `mandatory`, `kohafield`, `tab`, `authorised_value`, `authtypecode`, `value_builder`, `isurl`, `hidden`, `frameworkcode`, `seealso`, `link`, `defaultvalue`) VALUES
|
||||
('999', '9', 'Koha biblio number (autogenerated)', 'Koha biblio number', 0, 0, 'biblio.biblionumber', -1, '', '', '', 0, -5, '', '', '', NULL),
|
||||
('999', 'a', 'Koha biblioitem number (autogenerated)', 'Koha biblioitem number', 0, 0, 'biblioitems.biblioitemnumber', -1, '', '', '', 0, -5, '', '', '', NULL);
|
||||
insert into `marc_subfield_structure`(`tagfield`,`tagsubfield`,`liblibrarian`,`libopac`,`repeatable`,`mandatory`,`kohafield`,`tab`,`authorised_value`,`authtypecode`,`value_builder`,`isurl`,`hidden`,`frameworkcode`,`seealso`,`link`,`defaultvalue`) values
|
||||
('090','a','Koha biblioitem number (autogenerated)','Koha biblioitem number (autogenerated)',0,0,'biblioitems.biblioitemnumber',9,'','','',0,-5,'',NULL,'','');
|
||||
|
||||
-- Local date field/Subfields (099)
|
||||
|
||||
insert into `marc_tag_structure`(`tagfield`,`liblibrarian`,`libopac`,`repeatable`,`mandatory`,`authorised_value`,`frameworkcode`) values
|
||||
('099','local dates','',0,0,'','');
|
||||
|
||||
insert into `marc_subfield_structure`(`tagfield`,`tagsubfield`,`liblibrarian`,`libopac`,`repeatable`,`mandatory`,`kohafield`,`tab`,`authorised_value`,`authtypecode`,`value_builder`,`isurl`,`hidden`,`frameworkcode`,`seealso`,`link`,`defaultvalue`) values
|
||||
('099','c','Date of creation (bib. record)','Date of creation (bib. record)',0,0,'biblio.datecreated',0,'','','',0,-5,'',NULL,'','');
|
||||
|
||||
insert into `marc_subfield_structure`(`tagfield`,`tagsubfield`,`liblibrarian`,`libopac`,`repeatable`,`mandatory`,`kohafield`,`tab`,`authorised_value`,`authtypecode`,`value_builder`,`isurl`,`hidden`,`frameworkcode`,`seealso`,`link`,`defaultvalue`) values
|
||||
('099','d','Last modified date (bib. record)','Last modified data (bib. record)',0,0,'biblio.timestamp',0,'','','',0,-5,'',NULL,'','');
|
||||
|
||||
|
||||
-- ******************************************************
|
||||
|
||||
|
||||
-- Plugins which need to be written for primary biblioitems Field/Subfields.
|
||||
|
||||
|
||||
-- ('990', '2', 'Source of classification or shelving scheme', 'Source of classification or shelving scheme', 0, 0, 'biblioitems.cn_source', 9, '', '', 'unimarc_en_classcodes.pl', NULL, 0, '', '', '', NULL),
|
||||
-- ('990', 'h', 'Classification part', 'Classification part', 0, 0, 'biblioitems.cn_class', 9, '', '', 'unimarc_callnumber.pl', NULL, 0, '', '', '', NULL),
|
||||
|
||||
|
||||
|
||||
-- Current primary biblioitems Field/Subfields
|
||||
-- Current primary biblioitems Field/Subfields (942)
|
||||
|
||||
|
||||
INSERT INTO `marc_tag_structure` (`tagfield`, `liblibrarian`, `libopac`, `repeatable`, `mandatory`, `authorised_value`, `frameworkcode`) VALUES
|
||||
('990', 'ADDED ENTRY ELEMENTS (KOHA)', 'ADDED ENTRY ELEMENTS (KOHA)', 0, 0, '', '');
|
||||
('942', 'ADDED ENTRY ELEMENTS (KOHA)', 'ADDED ENTRY ELEMENTS (KOHA)', 0, 0, '', '');
|
||||
|
||||
INSERT INTO `marc_subfield_structure` (`tagfield`, `tagsubfield`, `liblibrarian`, `libopac`, `repeatable`, `mandatory`, `kohafield`, `tab`, `authorised_value`, `authtypecode`, `value_builder`, `isurl`, `hidden`, `frameworkcode`, `seealso`, `link`, `defaultvalue`) VALUES
|
||||
('990', '0', 'Koha issues (borrowed), all copies', 'Koha issues (borrowed), all copies', 0, 0, 'biblioitems.totalissues', 9, '', '', '', NULL, -5, '', '', '', NULL),
|
||||
('990', '2', 'Source of classification or shelving scheme', 'Source of classification or shelving scheme', 0, 0, 'biblioitems.cn_source', 9, '', '', '', NULL, 0, '', '', '', NULL),
|
||||
('990', '6', 'Koha normalized classification for sorting', 'Koha normalized classification for sorting', 0, 0, 'biblioitems.cn_sort', -1, '', '', '', 0, 7, '', '', '', NULL),
|
||||
('990', 'a', 'Koha item type [OBSOLETE]', 'Koha item type [OBSOLETE]', 0, 0, '', 9, '', '', '', NULL, -5, '', '', '', NULL),
|
||||
('990', 'c', 'Koha item type', 'Koha item type', 0, 1, 'biblioitems.itemtype', 9, 'itemtypes', '', '', NULL, 0, '', '', '', NULL),
|
||||
('990', 'e', 'Edition', 'Edition', 0, 0, 'biblioitems.cn_edition', 9, 'CN_EDITION', '', '', NULL, 0, '', '', '', NULL),
|
||||
('990', 'h', 'Classification part', 'Classification part', 0, 0, 'biblioitems.cn_class', 9, '', '', '', NULL, 0, '', '', '', NULL),
|
||||
('990', 'i', 'Item part', 'Item part', 1, 0, 'biblioitems.cn_item', 9, '', '', '', NULL, 9, '', '', '', NULL),
|
||||
('990', 'k', 'Call number prefix', 'Call number prefix', 0, 0, 'biblioitems.cn_prefix', 9, '', '', '', NULL, 0, '', '', '', NULL),
|
||||
('990', 'm', 'Call number suffix', 'Call number suffix', 0, 0, 'biblioitems.cn_suffix', 9, '', '', '', 0, 0, '', '', '', NULL),
|
||||
('990', 'n', 'Suppress in OPAC', 'Suppress in OPAC', 0, 0, NULL, 9, '', '', '', 0, 0, '', '', '', NULL),
|
||||
('990', 's', 'Serial record flag', 'Serial record', 0, 0, 'biblio.serial', 9, '', '', '', NULL, -5, '', '', '', NULL);
|
||||
('942', '0', 'Koha issues (borrowed), all copies', 'Koha issues (borrowed), all copies', 0, 0, 'biblioitems.totalissues', 9, '', '', '', NULL, -5, '', '', '', NULL),
|
||||
('942', '2', 'Source of classification or shelving scheme', 'Source of classification or shelving scheme', 0, 0, 'biblioitems.cn_source', 9, '', '', '', NULL, 0, '', '', '', NULL),
|
||||
('942', '6', 'Koha normalized classification for sorting', 'Koha normalized classification for sorting', 0, 0, 'biblioitems.cn_sort', -1, '', '', '', 0, 7, '', '', '', NULL),
|
||||
('942', 'c', 'Koha item type', 'Koha item type', 0, 1, 'biblioitems.itemtype', 9, 'itemtypes', '', '', NULL, 0, '', '', '', NULL),
|
||||
('942', 's', 'Serial record flag', 'Serial record', 0, 0, 'biblio.serial', 9, '', '', '', NULL, -5, '', '', '', NULL);
|
||||
|
||||
|
||||
-- ******************************************************
|
||||
|
|
@ -112,59 +115,6 @@ INSERT INTO `marc_subfield_structure` (`tagfield`, `tagsubfield`, `liblibrarian`
|
|||
|
||||
|
||||
|
||||
-- Recommended items Field/Subfields
|
||||
|
||||
-- INSERT INTO `marc_tag_structure` (`tagfield`, `liblibrarian`, `libopac`, `repeatable`, `mandatory`, `authorised_value`, `frameworkcode`) VALUES
|
||||
-- ('995', 'Location and Item Information (Koha)', 'Location and Item Information (Koha)', 0, 0, '', '');
|
||||
|
||||
-- INSERT INTO `marc_subfield_structure` (`tagfield`, `tagsubfield`, `liblibrarian`, `libopac`, `repeatable`, `mandatory`, `kohafield`, `tab`, `authorised_value`, `authtypecode`, `value_builder`, `isurl`, `hidden`, `frameworkcode`, `seealso`, `link`, `defaultvalue`) VALUES
|
||||
-- ('995', '0', 'Withdrawn status', 'Withdrawn status', 0, 0, 'items.wthdrawn', 10, 'WTHDRAWN', '', '', 0, 0, '', '', '', NULL),
|
||||
-- ('995', '1', 'Lost status', 'Lost status', 0, 0, 'items.itemlost', 10, 'LOST', '', '', 0, 0, '', '', '', NULL),
|
||||
-- ('995', '2', 'System code (specific classification or other scheme and edition)', 'System code (specific classification or other scheme and edition)', 0, 0, '', 10, '', '', 'unimarc_en_classcodes.pl', NULL, 0, '', '', '', NULL),
|
||||
-- ('995', '3', 'Classification part', 'Classification part', 0, 0, '', 10, '', '', '', NULL, 0, '', '', '', NULL),
|
||||
-- ('995', '4', 'Item part', 'Item part', 1, 0, '', 10, '', '', '', NULL, 0, '', '', '', NULL),
|
||||
-- ('995', '5', 'Use restrictions', 'Use restrictions', 0, 0, 'items.restricted', 10, 'RESTRICTED', '', '', 0, 0, '', '', '', NULL),
|
||||
-- ('995', '6', 'Coded location qualifier', 'Coded location qualifier', 1, 0, '', 10, '', '', 'marc21_locationqualifier.pl', NULL, 0, '', '', '', NULL),
|
||||
-- ('995', '7', 'Copy number', 'Copy number', 0, 0, 'items.copynumber', 10, '', '', '', NULL, 0, '', '', '', NULL),
|
||||
-- ('995', '8', 'Uniform Resource Identifier', 'Uniform Resource Identifier', 1, 0, 'items.uri', 10, '', '', '', 1, 0, '', '', '', NULL),
|
||||
-- ('995', '9', 'Internal item number (Koha itemnumber, autogenerated)', 'Internal itemnumber (Koha itemnumber)', 0, 0, 'items.itemnumber', -1, '', '', '', 0, -5, '', '', '', NULL),
|
||||
-- ('995', 'a', 'Origin of the item (home branch) (free text)', 'Origin of item (home branch) (free text)', 0, 1, 'items.homebranch', 10, 'branches', '', '', 0, 0, '', '', '', NULL),
|
||||
-- ('995', 'b', 'Origin of item (home branch) (coded)', 'Origin of item (home branch (coded)', 0, 0, '', 10, '', '', '', 0, -1, '', '', '', NULL),
|
||||
-- ('995', 'c', 'Lending or holding organisation (holding branch) (free text)', 'Lending or holding organisation (holding branch) (free text)', 0, 1, 'items.holdingbranch', 10, 'branches', '', '', 0, 0, '', '', '', NULL),
|
||||
-- ('995', 'd', 'Lending or holding organisation (holding branch) code', 'Lending or holding organisation (holding branch) code', 0, 0, '', 10, '', '', '', 0, -1, '', '', '', NULL),
|
||||
-- ('995', 'e', 'Genre detail', 'Genre', 0, 0, '', 10, '', '', '', 0, -1, '', '', '', NULL),
|
||||
-- ('995', 'f', 'Barcode', 'Barcode', 0, 0, 'items.barcode', 10, '', '', 'barcode.pl', 0, 0, '', '', '', NULL),
|
||||
-- ('995', 'g', 'Barcode prefix', 'Barcode prefix', 0, 0, '', 10, '', '', '', 0, -1, '', '', '', NULL),
|
||||
-- ('995', 'h', 'Barcode incrementation', 'Barcode incrementation', 0, 0, '', 10, '', '', '', 0, -1, '', '', '', NULL),
|
||||
-- ('995', 'i', 'Barcode suffix', 'Barcode suffix', 0, 0, '', 10, '', '', '', 0, -1, '', '', '', NULL),
|
||||
-- ('995', 'j', 'Section', 'Section', 0, 0, '', 10, '', '', '', 0, 0, '', '', '', NULL),
|
||||
-- ('995', 'k', 'Call number (full call number)', 'Call number (full call number)', 0, 0, 'items.itemcallnumber', 10, '', '', 'unimarc_itemcallnumber.pl', 0, 0, '', '', '', NULL),
|
||||
-- ('995', 'l', 'Numbering (volume or other part)', 'Numbering (bound volume or other part)', 0, 0, 'items.materials', 10, '', '', '', 0, 0, '', '', '', NULL),
|
||||
-- ('995', 'm', 'Date of loan or deposit', 'Date of loan or deposit', 0, 0, 'items.datelastborrowed', 10, '', '', '', 0, -5, '', '', '', NULL),
|
||||
-- ('995', 'n', 'Expiration of loan date', 'Expiration of loan date', 0, 0, '', 10, '', '', '', 0, -1, '', '', '', NULL),
|
||||
-- ('995', 'o', 'Circulation type (not for loan)', 'Circulation type (not for loan)', 1, 0, 'items.notforloan', 10, '', '', '', 0, 0, '', '', '', NULL),
|
||||
-- ('995', 'p', 'Serial', 'Serial', 0, 0, '', 10, '', '', '', 0, -1, '', '', '', NULL),
|
||||
-- ('995', 'q', 'Intended audience (age level)', 'Intended audience (age level)', 0, 0, '', 10, '', '', '', 0, -1, '', '', '', NULL),
|
||||
-- ('995', 'r', 'Type of item and material', 'Type of item and material', 0, 1, '', 10, '', '', '', 0, 0, '', '', '', NULL),
|
||||
-- ('995', 's', 'Acquisition mode', 'Acquisition mode', 0, 0, '', 10, '', '', '', 0, -1, '', '', '', NULL),
|
||||
-- ('995', 't', 'Genre', 'Genre', 0, 0, '', 10, '', '', '', 0, -1, '', '', '', NULL),
|
||||
-- ('995', 'u', 'Copy note', 'Copy note', 0, 0, 'items.itemnotes', 10, '', '', '', 0, 0, '', '', '', NULL),
|
||||
-- ('995', 'v', 'Periodical number', 'Periodical number', 0, 0, '', 10, '', '', '', 0, -1, '', '', '', NULL),
|
||||
-- ('995', 'w', 'Recipient organisation code', 'Recipient organisation code', 0, 0, '', 10, '', '', '', 0, -1, '', '', '', NULL),
|
||||
-- ('995', 'x', 'Recipient organisation, free text', 'Recipient organisation, free text', 0, 0, '', 10, '', '', '', 0, -1, '', '', '', NULL),
|
||||
-- ('995', 'y', 'Recipient parent organisation code', 'Recipient parent organisation code', 0, 0, '', 10, '', '', '', 0, -1, '', '', '', NULL),
|
||||
-- ('995', 'z', 'Recipient parent organisation, free text', 'Recipient parent organisation, free text', 0, 0, '', 10, '', '', '', 0, -1, '', '', '', NULL);
|
||||
|
||||
|
||||
|
||||
-- Plugins which need to be written for items Field/Subfields
|
||||
|
||||
|
||||
-- ('995', '2', 'System code (specific classification or other scheme and edition)', 'System code (specific classification or other scheme and edition)', 0, 0, '', 10, '', '', 'unimarc_en_classcodes.pl', NULL, 0, '', '', '', NULL),
|
||||
-- ('995', 'k', 'Call number (full call number)', 'Call number (full call number)', 0, 0, 'items.itemcallnumber', 10, '', '', 'unimarc_itemcallnumber.pl', 0, 0, '', '', '', NULL),
|
||||
|
||||
|
||||
|
||||
-- Current items Field/Subfields
|
||||
|
||||
INSERT INTO `marc_tag_structure` (`tagfield`, `liblibrarian`, `libopac`, `repeatable`, `mandatory`, `authorised_value`, `frameworkcode`) VALUES
|
||||
|
|
@ -172,42 +122,29 @@ INSERT INTO `marc_tag_structure` (`tagfield`, `liblibrarian`, `libopac`, `repeat
|
|||
|
||||
INSERT INTO `marc_subfield_structure` (`tagfield`, `tagsubfield`, `liblibrarian`, `libopac`, `repeatable`, `mandatory`, `kohafield`, `tab`, `authorised_value`, `authtypecode`, `value_builder`, `isurl`, `hidden`, `frameworkcode`, `seealso`, `link`, `defaultvalue`) VALUES
|
||||
('995', '0', 'Withdrawn status', 'Withdrawn status', 0, 0, 'items.wthdrawn', 10, 'WTHDRAWN', '', '', 0, 0, '', '', '', NULL),
|
||||
('995', '1', 'Lost status', 'Lost status', 0, 0, 'items.itemlost', 10, 'LOST', '', '', 0, 0, '', '', '', NULL),
|
||||
('995', '2', 'System code (specific classification or other scheme and edition)', 'System code (specific classification or other scheme and edition)', 0, 0, '', 10, '', '', '', NULL, 0, '', '', '', NULL),
|
||||
('995', '2', 'Lost status', 'Lost status', 0, 0, 'items.itemlost', 10, 'LOST', '', '', 0, 0, '', '', '', NULL),
|
||||
('995', '3', 'Use restrictions', 'Use restrictions', 0, 0, 'items.restricted', 10, 'RESTRICTED', '', '', 0, 0, '', '', '', NULL),
|
||||
('995', '4', 'Koha normalized classification for sorting', 'Koha normalized classification for sorting', 0, 0, 'items.cn_sort', -1, '', '', '', 0, 7, '', '', '', NULL),
|
||||
('995', '5', 'Coded location qualifier', 'Coded location qualifier', 0, 0, '', 10, '', '', 'marc21_locationqualifier.pl', NULL, 0, '', '', '', NULL),
|
||||
('995', '5', 'Date acquired', 'Coded location qualifier', 0, 0, 'items.dateaccessioned', 10, '', '', '', NULL, 0, '', '', '', NULL),
|
||||
('995', '6', 'Copy number', 'Copy number', 0, 0, 'items.copynumber', 10, '', '', '', NULL, 0, '', '', '', NULL),
|
||||
('995', '7', 'Uniform Resource Identifier', 'Uniform Resource Identifier', 0, 0, 'items.uri', 10, '', '', '', 0, 0, '', '', '', NULL),
|
||||
('995', '8', 'Koha collection', 'Koha collection', 0, 0, 'items.ccode', 10, 'CCODE', '', '', 0, 0, '', '', '', NULL),
|
||||
('995', '9', 'Internal item number (Koha itemnumber, autogenerated)', 'Internal itemnumber (Koha itemnumber)', 0, 0, 'items.itemnumber', -1, '', '', '', 0, -5, '', '', '', NULL),
|
||||
('995', 'a', 'Origin of the item (home branch) (free text)', 'Origin of item (home branch) (free text)', 0, 1, 'items.homebranch', 10, 'branches', '', '', 0, 0, '', '', '', NULL),
|
||||
('995', 'b', 'Origin of item (home branch) (coded)', 'Origin of item (home branch (coded)', 0, 0, '', 10, '', '', '', 0, -1, '', '', '', NULL),
|
||||
('995', 'c', 'Lending or holding organisation (holding branch) (free text)', 'Lending or holding organisation (holding branch) (free text)', 0, 1, 'items.holdingbranch', 10, 'branches', '', '', 0, 0, '', '', '', NULL),
|
||||
('995', 'd', 'Lending or holding organisation (holding branch) code', 'Lending or holding organisation (holding branch) code', 0, 0, '', 10, '', '', '', 0, -1, '', '', '', NULL),
|
||||
('995', 'e', 'Genre detail', 'Genre', 0, 0, '', 10, '', '', '', 0, -1, '', '', '', NULL),
|
||||
('995', 'a', 'Origin of the item (home branch) (free text)', 'Origin of item (home branch) (free text)', 0, 1, '', 10, '', '', '', 0, 0, '', '', '', NULL),
|
||||
('995', 'b', 'Origin of item (home branch) (coded)', 'Origin of item (home branch (coded)', 0, 0, 'items.homebranch', 10, 'branches', '', '', 0, -1, '', '', '', NULL),
|
||||
('995', 'c', 'Lending or holding organisation (holding branch) code', 'Lending or holding organisation (holding branch) code ', 0, 1, 'items.holdingbranch', 10, 'branches', '', '', 0, 0, '', '', '', NULL),
|
||||
('995', 'd', 'Lending or holding organisation (holding branch) (free text)', 'Lending or holding organisation (holding branch) (free text)', 0, 0, '', 10, '', '', '', 0, -1, '', '', '', NULL),
|
||||
('995', 'e', 'Shelving location', 'Shelving location', 0, 0, 'items.location', 10, 'LOC', '', '', 0, 0, '', '', '', NULL),
|
||||
('995', 'f', 'Barcode', 'Barcode', 0, 0, 'items.barcode', 10, '', '', 'barcode.pl', 0, 0, '', '', '', NULL),
|
||||
('995', 'g', 'Barcode prefix', 'Barcode prefix', 0, 0, '', 10, '', '', '', 0, -1, '', '', '', NULL),
|
||||
('995', 'h', 'Barcode incrementation', 'Barcode incrementation', 0, 0, '', 10, '', '', '', 0, -1, '', '', '', NULL),
|
||||
('995', 'i', 'Barcode suffix', 'Barcode suffix', 0, 0, '', 10, '', '', '', 0, -1, '', '', '', NULL),
|
||||
('995', 'j', 'Section', 'Section', 0, 0, '', 10, '', '', '', 0, 0, '', '', '', NULL),
|
||||
('995', 'h', 'Koha collection', 'Koha collection', 0, 0, 'items.ccode', 10, 'CCODE', '', '', 0, 0, '', '', '', NULL),
|
||||
('995', 'j', 'Inventory number', 'Inventory number', 0, 0, 'items.stocknumber ', 10, '', '', '', 0, 0, '', '', '', NULL),
|
||||
('995', 'k', 'Call number (full call number)', 'Call number (full call number)', 0, 0, 'items.itemcallnumber', 10, '', '', '', 0, 0, '', '', '', NULL),
|
||||
('995', 'l', 'Numbering (volume or other part)', 'Numbering (bound volume or other part)', 0, 0, 'items.materials', 10, '', '', '', 0, 0, '', '', '', NULL),
|
||||
('995', 'm', 'Date of loan or deposit', 'Date of loan or deposit', 0, 0, 'items.datelastborrowed', 10, '', '', '', 0, -5, '', '', '', NULL),
|
||||
('995', 'n', 'Expiration of loan date', 'Expiration of loan date', 0, 0, '', 10, '', '', '', 0, -1, '', '', '', NULL),
|
||||
('995', 'n', 'Expiration of loan date', 'Expiration of loan date', 0, 0, 'items.onloan', 10, '', '', '', 0, -1, '', '', '', NULL),
|
||||
('995', 'o', 'Circulation type (not for loan)', 'Circulation type (not for loan)', 0, 0, 'items.notforloan', 10, '', '', '', 0, 0, '', '', '', NULL),
|
||||
('995', 'p', 'Serial', 'Serial', 0, 0, '', 10, '', '', '', 0, -1, '', '', '', NULL),
|
||||
('995', 'q', 'Intended audience (age level)', 'Intended audience (age level)', 0, 0, '', 10, '', '', '', 0, -1, '', '', '', NULL),
|
||||
('995', 'r', 'Type of item and material', 'Type of item and material', 0, 1, '', 10, '', '', '', 0, 0, '', '', '', NULL),
|
||||
('995', 's', 'Acquisition mode', 'Acquisition mode', 0, 0, '', 10, '', '', '', 0, -1, '', '', '', NULL),
|
||||
('995', 't', 'Genre', 'Genre', 0, 0, '', 10, '', '', '', 0, -1, '', '', '', NULL),
|
||||
('995', 'r', 'Type of item and material', 'Type of item and material', 0, 1, 'items.itype', 10, 'itemtypes', '', '', 0, 0, '', '', '', NULL),
|
||||
('995', 'u', 'Copy note', 'Copy note', 0, 0, 'items.itemnotes', 10, '', '', '', 0, 0, '', '', '', NULL),
|
||||
('995', 'v', 'Periodical number', 'Periodical number', 0, 0, '', 10, '', '', '', 0, -1, '', '', '', NULL),
|
||||
('995', 'w', 'Recipient organisation code', 'Recipient organisation code', 0, 0, '', 10, '', '', '', 0, -1, '', '', '', NULL),
|
||||
('995', 'x', 'Recipient organisation, free text', 'Recipient organisation, free text', 0, 0, '', 10, '', '', '', 0, -1, '', '', '', NULL),
|
||||
('995', 'y', 'Recipient parent organisation code', 'Recipient parent organisation code', 0, 0, '', 10, '', '', '', 0, -1, '', '', '', NULL),
|
||||
('995', 'z', 'Recipient parent organisation, free text', 'Recipient parent organisation, free text', 0, 0, '', 10, '', '', '', 0, -1, '', '', '', NULL);
|
||||
|
||||
('995', 'v', 'Serial Enumeration / chronology', 'Serial Enumeration / chronology', 0, 0, 'items.enumchron', 10, '', '', '', 0, -1, '', '', '', NULL);
|
||||
|
||||
|
||||
|
||||
-- *******************************************************
|
||||
|
|
@ -385,7 +322,7 @@ INSERT INTO `marc_tag_structure` (`tagfield`, `liblibrarian`, `libopac`, `repeat
|
|||
|
||||
INSERT INTO `marc_subfield_structure` (`tagfield`, `tagsubfield`, `liblibrarian`, `libopac`, `repeatable`, `mandatory`, `kohafield`, `tab`, `authorised_value`, `authtypecode`, `value_builder`, `isurl`, `hidden`, `frameworkcode`, `seealso`, `link`, `defaultvalue`) VALUES
|
||||
('000', '@', 'fixed length control field', 'fixed length control field', 0, 1, '', 0, '', '', 'unimarc_leader.pl', 0, 0, '', '', '', NULL),
|
||||
('001', '@', 'control field', 'control field', 0, 1, '', 0, '', '', '', 0, 0, '', '', '', NULL),
|
||||
('001', '@', 'control field', 'control field', 0, 1, 'biblio.biblionumber', -1, '', '', '', 0, 0, '', '', '', NULL),
|
||||
('005', '@', 'control field', 'control field', 0, 0, '', 0, '', '', 'marc21_field_005.pl', 0, 0, '', '', '', NULL),
|
||||
('010', 'a', 'Number (ISBN)', 'Number (ISBN)', 0, 0, 'biblioitems.isbn', 0, '', '', '', 0, 0, '', '', '', NULL),
|
||||
('010', 'b', 'Qualification', 'Qualification', 0, 0, '', 0, '', '', '', 0, 0, '', '', '', NULL),
|
||||
|
|
|
|||
|
|
@ -54,17 +54,14 @@ INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES
|
|||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('itemcallnumber', '676a', 'Ce paramètre définit le champ/sous-champ que Koha va utiliser pour pré-remplir la cote des exemplaires. Par exemple, en cas de cote basée sur dewey, mettre 676a.', '', 'free');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('DefaultClassificationSource','ddc','Modèle de classification utilisé dans le catalogue, par exemple : Dewey, LCC, etc.', NULL,'ClassSources');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('KohaAdminEmailAddress', '', 'Ce paramètre contient l''adresse de l''administrateur du système', '', 'free');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('kohaspsuggest','','Enregistre les recherches. Actier en définissant : host:dbname:user:pass','','');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('LabelMARCView', 'standard', 'Ca paramètre définit comment une notice MARC est affichée. Habituellement, c''est "standard". "Economical" est plus court, mais moins lisible', 'standard|economical', 'Choice');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('LetterLog', '0', 'Activer ce paramètre pour enregistrer les actions sur les notifications par mail', '', 'YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('LibraryName', 'Ma bibliothèque', 'Ce paramètre définit le nom de la bibliothèque, qui apparaît sur chaque page de l''OPAC', '', '');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('marc', '1', 'Ce paramètre active le support du MARC. Dans Koha 3.0, doit être à 1.', '', 'YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('MARCOrgCode', '0', 'Ce paramètre définit votre code organisme MARC. Utilisé en MARC21. Voir - http://www.loc.gov/marc/organizations/orgshome.html', '', '');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('MaxFine','9999','Amende maximum qu''un ahdérent peut avoir pour un retour en retard','','Integer');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('maxoutstanding', '5', 'Ce paramètre définit le montant maximal des dettes au dela duquel le lecteur ne peut plus faire de réservation', '', 'Integer');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('maxreserves', '2', 'Ce paramètre définit le nombre maximal de réservations qu''un lecteur peut faire.', '', 'Integer');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('memberofinstitution', '0', 'Vos adhérents sont ils membres d''une institution ?', NULL, 'YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('MIME', 'OPENOFFICE.ORG', 'Ce paramètre définit l''application par défaut à ouvrir lorsqu''on télécharge un fichier (OpenOffice.org ou MS-Excel habituellement)', 'EXCEL|OPENOFFICE.ORG', 'Choice');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('noissuescharge', '5', 'Ce paramètre définit le montant maximal des dettes au delà duquel le lecteur ne peut plus emprunter', '', 'Integer');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('NotifyBorrowerDeparture', '0', 'Ce paramètre permet d''être prévenu N jours avant l''expiration de la carte d''un adhérent, à la banque de prêt.', '', 'Integer');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('DebugLevel', '2', 'Définit le niveau d''affichage des erreurs en cas de problème : 0= aucun affichage, 1= un peu, 2=tout (peut être risqué pour la sécurité)', '0|1|2', 'Choice');
|
||||
|
|
@ -89,7 +86,7 @@ INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES
|
|||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('intranetbookbag','1','Si ce paramètre est activé, les adhérents peuvent créer des paniers à l''interface professionnelle','','YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OpacBrowser', '1', 'Active ou non le feuilletage du catalogue à l''OPAC (nécessite de lancer misc/cronjobs/build_browser_and_cloud.pl sur le serveur)', '', 'YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OpacCloud', '1', 'Active ou non l''affichage des nuages de tag à l''OPAC (nécessite de lancer misc/cronjobs/build_browser_and_cloud.pl sur le serveur)', '', 'YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('opaccolorstylesheet', '', 'Ce paramètre a la forme d''une URL. Il définit la feuille de style utilisée à l''OPAC. S''il est vide, vous aurez la feuille de style par défault de Koha', '', 'free');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('opaccolorstylesheet', '', 'Définit une feuille de style auxiliaire pour l'OPAC qui prend le pas sur la feuille de style primaire. Entrez le nom du fichier (si le fichier est sur le serveur) ou une URL commencant par http (si le fichier est sur un serveur distant).', '', 'free');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('opaccredits', '', 'Ce paramètre contient du code HTML, qui apparaît en bas de la page d''accueil de l''OPAC. C''est un "pied de page" de la page d''accueil', '70|10', '');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('opaclanguages', 'fr-FR', 'Ce paramètre définit la langue par défaut de l''OPAC, ainsi que la langue de l''interface professionnelle', '', 'Languages');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('opaclanguagesdisplay', '1', 'Si ce paramètre est activé, les adhérents peuvent modifier la langue d''affichage de l''OPAC. Sinon, ils sont limités à la langue choisie par la bibliothèque', '', 'YesNo');
|
||||
|
|
@ -118,7 +115,6 @@ INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES
|
|||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('SubscriptionLog', '0', 'Activer ce paramètre pour enregistrer les actions sur le bulletinage', '', 'YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('suggestion', '1', 'Si ce paramètre est activé, les adhérents (identifiés) peuvent saisir des suggestions d''achat', '', 'YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('template', 'prog', 'Ce paramètre permet de définir le thème de l''interface professionnelle. "prog", sauf si vous avez défini un thème spécifique', '', 'Themes');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('TemplateEncoding', 'utf-8', 'Ce paramètre permet de définir l''encodage de votre base. Normalement, utf-8', 'iso-8859-1|utf-8', 'Choice');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('timeout', '30600', 'Ce paramètre définit la durée d''inactivité au delà de laquelle l''utilisateur (professionnel ou opac) est automatiquement déconnecté', '', 'Integer');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('TransfersMaxDaysWarning', '3', 'Délai maximum au delà duquel un transfert sera considéré comme ayant rencontré un problème', '', 'Integer');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('uppercasesurnames', '0', 'Force les noms de famille à être en majuscule', NULL, 'YesNo');
|
||||
|
|
@ -155,8 +151,6 @@ INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES
|
|||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('minPasswordLength',3,'Spécifie la longueur minimale des mots de passe',NULL,'free');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('noItemTypeImages',0,'Si activé, n''affiche pas les vignettes de type de document',NULL,'YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('emailLibrarianWhenHoldIsPlaced',0,'Si activé, envoie un mail à la bibliothèque lorsqu''une réservation est posée',NULL,'YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('holdCancelLength','','Spécifie le nombre de jours avant qu''une réservation soit annulée',NULL,'Integer');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('libraryAddress','','L''adresse pour l''impression des reçus, des amendes... si elle est différente de l''adresse physique de la bibliothèque',NULL,'free');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('numReturnedItemsToShow','20','Nombre d''exemplaires rendus à afficher sur la page de retour',NULL,'Integer');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('finesMode','test','Choisissez un mode pour le calcul des amendes : Test ou Production.','test|production','Choice');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('globalDueDate','','Si défini, autorise une date de retour statique pour tous les prêts','10','free');
|
||||
|
|
@ -164,8 +158,6 @@ INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES
|
|||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('itemBarcodeInputFilter','','Si activé, permet de définir le format des codes à barre','whitespace|T-prefix|cuecat','Choice');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('singleBranchMode',0,'Activer s''il n''y a qu''une seule bibliothèque sur ce catalogue, cela cache le sélecteur de bibliothèque inutile',NULL,'YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('URLLinkText','','Texte à afficher dans l''ancre du logo de l''OPAC',NULL,'free');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OPACSubscriptionDisplay','economical','Spécifie comment afficher les informations de périodique à l''OPAC','economical|off|full','Choice');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OPACDisplayExtendedSubInfo',1,'Si activé, les informations étendues d''abonnement sont affichées à l''OPAC',NULL,'YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OPACViewOthersSuggestions',0,'Si activé, toutes les suggestions sont affichées à l''OPAC',NULL,'YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OPACURLOpenInNewWindow',0,'Si activé, les URLs s''ouvrent dans une nouvelle fenêtre à l''OPAC',NULL,'YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('hideBiblioNumber',0,'Si activé, le numéro de notice Koha est caché dans la page de détail de l''OPAC',NULL,'YesNo');
|
||||
|
|
@ -174,11 +166,11 @@ INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES
|
|||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OPACBaseURL',NULL,'Définit l''adresse de base de l''OPAC, par exemple :opac.mylibrary.com, le http:// sera automatiquement ajouté par Koha',NULL,'Free');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OpacRenewalAllowed',0,'Si activé, les utilisateurs peuvent renouveller leurs prêts directement depuis leur compte à l''OPAC',NULL,'YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('HomeOrHoldingBranch','holdingbranch','Détermine si l''on utilise le site propriétaire ou le site dépositaire dans les opérations de circulation ou d''affichage de la disponibilité','holdingbranch|homebranch','Choice');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('HomeOrHoldingBranchReturn','holdingbranch','Détermine si l''on utilise le site propriétaire ou le site dépositaire dans les opérations de retour','holdingbranch|homebranch','Choice');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OpacHighlightedWords','0','Si activé, les mots recherchés dans la notices sont affichés dans l''OPAC','','YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OAI-PMH','0','Si activé, le service OAI-PMH est disponible',NULL,'YesNo');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OAI-PMH:archiveID','KOHA-OAI-TEST','Identification de l''archive OAI-PMH',NULL,'Free');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OAI-PMH:MaxCount','50','Nombre maximum d''enregistrements retournés simultanément aux requêtes ListRecords et ListIdentifiers',NULL,'Integer');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OAI-PMH:Set','SET,Set experimental\r\nSET:SUBSET,Sous-set experimental','Sets OAI-PMH exportés, Le nom du set est d''une virgule et d''une brève description. Un set par ligne.','30|10','Textarea');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OAI-PMH:ConfFile','','Si vide, le serveur OAI de Koha fonctionne en mode normal, sino il fonctionne en mode étendu.',NULL,'File');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('language','fr-FR','Définit les langues accessibles dans l''interface professionnelle',NULL,'Languages');
|
||||
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('opacheader','','HTML spécifique à ajouter à l''OPAC','70|10','Textarea');
|
||||
|
|
@ -224,7 +216,6 @@ INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('
|
|||
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('AllowNotForLoanOverride', '0', 'Si activé, permet au bibliothécaire de choisir de prêter tout de même un exemplaire normalement exclu du prêt',NULL,'YesNo');
|
||||
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('RenewalPeriodBase', 'date_due', 'Permet de déterminer si la période de renouvellement doit être calculée sur la date de retour ou sur le jour du renouvellement','date_due|now','Choice');
|
||||
INSERT INTO `systempreferences` (variable,value,options,explanation,type) VALUES ('OrderPdfFormat','pdfformat::layout3pages','Détermine le script utilisé pour imprimer les groupes de paniers','','free');
|
||||
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ('OrderPdfTemplate','','Modèle de PDF téléchargé, utilisé pour les bons de commande','NULL','Upload');
|
||||
INSERT INTO `systempreferences` (variable,value,options,explanation,type) VALUES ('CurrencyFormat','US','US|FR','Précise comment les montant financiers sont affichés. Ex: ''36000'' est affiché ''360 000,00'' en ''FR'' ou 360,000.00'' en ''US''.','Choice');
|
||||
INSERT INTO `systempreferences` (variable,value,options,explanation,type) VALUES ('AcqCreateItem','ordering','ordering|receiving|cataloguing','Indique quand les exemplaires sont créés : à la commande, à la réception, dans le module catalogage','Choice');
|
||||
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('AllowRenewalLimitOverride', '0', 'S''il est activé, autorise le dépassement des limites du renouvellement sur la page de circulation',NULL,'YesNo');
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
SET NAMES utf8;
|
||||
INSERT INTO `opac_news` VALUES (1,'Bienvenue dans Koha !','Bienvenue dans Koha 3, la toute nouvelle version du système intégré de gestion de bibliothèque (SIGB) open source de référence. Développé initialement en Nouvelle Zélande et déployé pour la première fois en janvier 2000, Koha est un projet international soutenu par des sociétés de services en logiciels libres et par des bibliothécaires du monde entier.','koha','2008-01-14 03:25:58','2099-01-10',1),(2,'Et maintenant ?','Félicitations ! vous avez désormais une version opérationnelle de Koha. Et maintenant, que faire ?\r\n<ul>\r\n<li><a href=\"http://koha-community.org/documentation/\">lisez la documentation de Koha ;</a></li>\r\n<li><a href=\"http://wiki.koha.org\">lisez et participez au Wiki de Koha ;</a></li>\r\n<li><a href=\"http://koha-community.org/support/\">abonnez-vous aux listes de discussion ;</a></li>\r\n<li><a href=\"http://bugs.koha.org\">signalez des bugs ;</a></li>\r\n<li><a href=\"http://wiki.koha.org/doku.php?id=en:development:git_usage\">proposez des correctifs et des améliorations ;</a></li>\r\n<li><a href=\"http://koha-community.org/support/\">discutez avec les utilisateurs et les développeurs de Koha.</a></li>\r\n</ul>\r\n','koha','2008-01-14 03:34:45','2099-01-10',2);
|
||||
INSERT INTO `opac_news` VALUES (1,'Bienvenue dans Koha !','Bienvenue dans Koha 3, la toute nouvelle version du système intégré de gestion de bibliothèque (SIGB) open source de référence. Développé initialement en Nouvelle Zélande et déployé pour la première fois en janvier 2000, Koha est un projet international soutenu par des sociétés de services en logiciels libres et par des bibliothécaires du monde entier.','koha','2008-01-14 03:25:58','2099-01-10',1),(2,'Et maintenant ?','Félicitations ! vous avez désormais une version opérationnelle de Koha. Et maintenant, que faire ?\r\n<ul>\r\n<li><a href=\"http://koha-community.org/documentation/\">lisez la documentation de Koha ;</a></li>\r\n<li><a href=\"http://wiki.koha-community.org\">lisez et participez au Wiki de Koha ;</a></li>\r\n<li><a href=\"http://koha-community.org/support/\">abonnez-vous aux listes de discussion ;</a></li>\r\n<li><a href=\"http://bugs.koha-community.org\">signalez des bugs ;</a></li>\r\n<li><a href=\"http://wiki.koha-community.org/wiki/Version_Control_Using_Git\">proposez des correctifs et des améliorations ;</a></li>\r\n<li><a href=\"http://koha-community.org/support/\">discutez avec les utilisateurs et les développeurs de Koha.</a></li>\r\n</ul>\r\n','koha','2008-01-14 03:34:45','2099-01-10',2);
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,11 @@
|
|||
Default MARC21 Standard Authority types:
|
||||
|
||||
Personal Name
|
||||
Corporate Name
|
||||
Meeting Name
|
||||
Uniform Title
|
||||
Chronological Term
|
||||
Topical Term
|
||||
Geographic Name
|
||||
Genre/Form Term
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue