From ef25cfec426f055b7d7e706a6f35343798dea8dd Mon Sep 17 00:00:00 2001
From: tipaul
Date: Mon, 13 Sep 2004 15:29:48 +0000
Subject: [PATCH] fixes for authorities
---
.../blinddetail-biblio-search.tmpl | 20 ++++++------
.../en/authorities/searchresultlist-auth.tmpl | 32 +++++++++++++------
2 files changed, 33 insertions(+), 19 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/default/en/authorities/blinddetail-biblio-search.tmpl b/koha-tmpl/intranet-tmpl/default/en/authorities/blinddetail-biblio-search.tmpl
index dd844b799a..dabdb7e354 100644
--- a/koha-tmpl/intranet-tmpl/default/en/authorities/blinddetail-biblio-search.tmpl
+++ b/koha-tmpl/intranet-tmpl/default/en/authorities/blinddetail-biblio-search.tmpl
@@ -11,14 +11,14 @@ i=index_start
// go forward, until reaching the end of the field.
while (i<=opener.opener.document.f.field_value.length) {
if (opener.opener.document.f.tag[i].value == whichfield && opener.opener.document.f.subfield[i].value == '9') {
- opener.opener.document.f.field_value[i].value = '
- if (opener.opener.document.f.tag[i].value == whichfield && opener.opener.document.f.subfield[i].value == '')
- {
- opener.opener.document.f.field_value[i].value = '';
- }
+ if (opener.opener.document.f.tag[i].value == whichfield && opener.opener.document.f.subfield[i].value == '')
+ {
+ opener.opener.document.f.field_value[i].value = "";
+ }
if (opener.opener.document.f.tag[i].value != whichfield) {
@@ -30,14 +30,14 @@ while (i<=opener.opener.document.f.field_value.length) {
i=index_start
while (i>=0) {
if (opener.opener.document.f.tag[i].value == whichfield && opener.opener.document.f.subfield[i].value == '9') {
- opener.opener.document.f.field_value[i].value = '
- if (opener.opener.document.f.tag[i].value == whichfield && opener.opener.document.f.subfield[i].value == '')
- {
- opener.opener.document.f.field_value[i].value = '';
- }
+ if (opener.opener.document.f.tag[i].value == whichfield && opener.opener.document.f.subfield[i].value == '')
+ {
+ opener.opener.document.f.field_value[i].value = "";
+ }
if (opener.opener.document.f.tag[i].value != whichfield) {
diff --git a/koha-tmpl/intranet-tmpl/default/en/authorities/searchresultlist-auth.tmpl b/koha-tmpl/intranet-tmpl/default/en/authorities/searchresultlist-auth.tmpl
index 4edf108ab3..56c9ffa3f8 100644
--- a/koha-tmpl/intranet-tmpl/default/en/authorities/searchresultlist-auth.tmpl
+++ b/koha-tmpl/intranet-tmpl/default/en/authorities/searchresultlist-auth.tmpl
@@ -22,7 +22,7 @@
"
-
+
@@ -31,7 +31,7 @@