From a073d84092dd0e01788ae64805d32097df4a96c1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20Demians?= Date: Wed, 15 Jul 2009 21:59:56 +0200 Subject: [PATCH] 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 --- C4/Biblio.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/C4/Biblio.pm b/C4/Biblio.pm index 8bebb250ad..803a921270 100644 --- a/C4/Biblio.pm +++ b/C4/Biblio.pm @@ -938,6 +938,7 @@ sub GetUsedMarcStructure($){ FROM marc_subfield_structure WHERE tab > -1 AND frameworkcode = ? + ORDER BY tagfield, tagsubfield /; my @results; my $sth = $dbh->prepare($query); -- 2.39.5