/[koha]/koha/C4/AuthoritiesMarc.pm
ViewVC logotype

Diff of /koha/C4/AuthoritiesMarc.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.9.2.8 by tipaul, Tue Oct 25 12:38:59 2005 UTC revision 1.9.2.9 by tipaul, Thu Dec 1 17:30:26 2005 UTC
# Line 310  sub AUTHcount_usage { Line 310  sub AUTHcount_usage {
310          chop $tags_using_authtype;          chop $tags_using_authtype;
311          if ($tags_using_authtype) {          if ($tags_using_authtype) {
312                  $sth = $dbh->prepare("select count(*) from marc_subfield_table where concat(tag,subfieldcode) in ($tags_using_authtype) and subfieldvalue=?");                  $sth = $dbh->prepare("select count(*) from marc_subfield_table where concat(tag,subfieldcode) in ($tags_using_authtype) and subfieldvalue=?");
313          } else {  #       } else {
314                  $sth = $dbh->prepare("select count(*) from marc_subfield_table where subfieldvalue=?");  #               $sth = $dbh->prepare("select count(*) from marc_subfield_table where subfieldvalue=?");
315          }          }
316  #       warn "Q : select count(*) from marc_subfield_table where concat(tag,subfieldcode) in ($tags_using_authtype) and subfieldvalue=$authid";  #       warn "Q : select count(*) from marc_subfield_table where concat(tag,subfieldcode) in ($tags_using_authtype) and subfieldvalue=$authid";
317          $sth->execute($authid);          $sth->execute($authid);
# Line 938  Paul POULAIN paul.poulain@free.fr Line 938  Paul POULAIN paul.poulain@free.fr
938    
939  # $Id$  # $Id$
940  # $Log$  # $Log$
941    # Revision 1.9.2.9  2005/12/01 17:30:26  tipaul
942    # no need to do a search on an authority when the authority has no MARC field (like EDITORS pseudo authority)
943    #
944  # Revision 1.9.2.8  2005/10/25 12:38:59  tipaul  # Revision 1.9.2.8  2005/10/25 12:38:59  tipaul
945  # * fixing bug in summary (separator before subfield was in fact after)  # * fixing bug in summary (separator before subfield was in fact after)
946  # * 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 !  # * 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 !

Legend:
Removed from v.1.9.2.8  
changed lines
  Added in v.1.9.2.9

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26