[Koha-patches] [PATCH] Bug 3423 - In Cataloging, fields are not ordered by tag number
Frédéric Demians
f.demians at tamil.fr
Wed Jul 15 21:59:56 CEST 2009
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.
---
C4/Biblio.pm | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/C4/Biblio.pm b/C4/Biblio.pm
index 8bebb25..803a921 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);
--
1.5.6.5
More information about the Koha-patches
mailing list