[Koha-cvs] Changes to koha/C4/AuthoritiesMarc.pm [rel_2_2]
paul poulain
paul at koha-fr.org
Thu Dec 1 18:30:27 CET 2005
Index: koha/C4/AuthoritiesMarc.pm
diff -u koha/C4/AuthoritiesMarc.pm:1.9.2.8 koha/C4/AuthoritiesMarc.pm:1.9.2.9
--- koha/C4/AuthoritiesMarc.pm:1.9.2.8 Tue Oct 25 12:38:59 2005
+++ koha/C4/AuthoritiesMarc.pm Thu Dec 1 17:30:26 2005
@@ -310,8 +310,8 @@
chop $tags_using_authtype;
if ($tags_using_authtype) {
$sth = $dbh->prepare("select count(*) from marc_subfield_table where concat(tag,subfieldcode) in ($tags_using_authtype) and subfieldvalue=?");
- } else {
- $sth = $dbh->prepare("select count(*) from marc_subfield_table where subfieldvalue=?");
+# } else {
+# $sth = $dbh->prepare("select count(*) from marc_subfield_table where subfieldvalue=?");
}
# warn "Q : select count(*) from marc_subfield_table where concat(tag,subfieldcode) in ($tags_using_authtype) and subfieldvalue=$authid";
$sth->execute($authid);
@@ -936,8 +936,11 @@
=cut
-# $Id: AuthoritiesMarc.pm,v 1.9.2.8 2005/10/25 12:38:59 tipaul Exp $
+# $Id: AuthoritiesMarc.pm,v 1.9.2.9 2005/12/01 17:30:26 tipaul Exp $
# $Log: AuthoritiesMarc.pm,v $
+# Revision 1.9.2.9 2005/12/01 17:30:26 tipaul
+# no need to do a search on an authority when the authority has no MARC field (like EDITORS pseudo authority)
+#
# Revision 1.9.2.8 2005/10/25 12:38:59 tipaul
# * fixing bug in summary (separator before subfield was in fact after)
# * fixing bug in authority order : authorities are not ordered alphabetically instead of no order. Requires all the dataset to be retrieved, but the benefits is important !
More information about the Koha-cvs
mailing list