projects
/
koha.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug fixing : the link between serial and item wasnot used when editing an issue
[koha.git]
/
admin
/
koha2marclinks.pl
diff --git
a/admin/koha2marclinks.pl
b/admin/koha2marclinks.pl
index
3a0ee11
..
aa2e368
100755
(executable)
--- a/
admin/koha2marclinks.pl
+++ b/
admin/koha2marclinks.pl
@@
-141,14
+141,14
@@
else { # DEFAULT
my $sth2 = $dbh->prepare("SHOW COLUMNS from $tablename");
$sth2->execute;
my $sth2 = $dbh->prepare("SHOW COLUMNS from $tablename");
$sth2->execute;
- my $toggle =
"white"
;
+ my $toggle =
1
;
my @loop_data = ();
while ( ( my $field ) = $sth2->fetchrow_array ) {
my @loop_data = ();
while ( ( my $field ) = $sth2->fetchrow_array ) {
- if ( $toggle eq
'white'
) {
- $toggle =
"#ffffcc"
;
+ if ( $toggle eq
1
) {
+ $toggle =
0
;
}
else {
}
else {
- $toggle =
"white"
;
+ $toggle =
1
;
}
my %row_data; # get a fresh hash for the row data
$row_data{tagfield} = $fields{ $tablename . "." . $field }->{tagfield};
}
my %row_data; # get a fresh hash for the row data
$row_data{tagfield} = $fields{ $tablename . "." . $field }->{tagfield};
@@
-159,7
+159,7
@@
else { # DEFAULT
$row_data{kohafield} = $field;
$row_data{edit} =
"$script_name?op=add_form&tablename=$tablename&kohafield=$field";
$row_data{kohafield} = $field;
$row_data{edit} =
"$script_name?op=add_form&tablename=$tablename&kohafield=$field";
- $row_data{
bgcolor
} = $toggle;
+ $row_data{
toggle
} = $toggle;
push( @loop_data, \%row_data );
}
$template->param(
push( @loop_data, \%row_data );
}
$template->param(
@@
-178,10
+178,4
@@
else { # DEFAULT
)
);
} #---- END $OP eq DEFAULT
)
);
} #---- END $OP eq DEFAULT
-$template->param(
- intranetcolorstylesheet =>
- C4::Context->preference("intranetcolorstylesheet"),
- intranetstylesheet => C4::Context->preference("intranetstylesheet"),
- IntranetNav => C4::Context->preference("IntranetNav"),
-);
output_html_with_http_headers $input, $cookie, $template->output;
output_html_with_http_headers $input, $cookie, $template->output;