Bug 3423 - In Cataloging, fields are not ordered by tag number

In cataloging, depending on installation and how biblio framework has been
created/modified, fields are not displayed ordered by tag number. For example,
in UNIMARC you can have in tab '2':

  225
  200
  210

This patch order fields in tabs by tag and letter in the tag.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
This commit is contained in:
Frédéric Demians 2009-07-15 21:59:56 +02:00 committed by Henri-Damien LAURENT
parent 60673d3ec9
commit a2dca36ec0
1 changed files with 1 additions and 0 deletions

View File

@ -925,6 +925,7 @@ sub GetUsedMarcStructure($){
FROM marc_subfield_structure
WHERE tab > -1
AND frameworkcode = ?
ORDER BY tagfield, tagsubfield
/;
my @results;
my $sth = $dbh->prepare($query);