[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS Update: gleipnir
- To: cvs@lists.cleannorth.org
- Subject: CVS Update: gleipnir
- From: Dan Brosemer <odin@cleannorth.org>
- Date: Sun, 3 Aug 2008 11:42:22 -0400 (EDT)
- List-help: <mailto:cvs-request@lists.cleannorth.org?subject=help>
- List-post: <mailto:cvs@lists.cleannorth.org>
- List-subscribe: <mailto:cvs-request@lists.cleannorth.org?subject=subscribe>
- List-unsubscribe: <mailto:cvs-request@lists.cleannorth.org?subject=unsubscribe>
- Resent-date: Sun, 3 Aug 2008 11:42:25 -0400 (EDT)
- Resent-from: cvs@lists.cleannorth.org
- Resent-message-id: <wQjwh.A.iHF.3HdlIB@skroob.cleannorth.org>
- Resent-sender: cvs-request@lists.cleannorth.org
Log Message:
-----------
Sort index displays
Modified Files:
--------------
gleipnir/public_html:
kb.pl
Revision Data
-------------
Index: kb.pl
===================================================================
RCS file: /cvs/gleipnir/public_html/kb.pl,v
retrieving revision 1.30
retrieving revision 1.31
diff -Lpublic_html/kb.pl -Lpublic_html/kb.pl -u -r1.30 -r1.31
--- public_html/kb.pl
+++ public_html/kb.pl
@@ -227,6 +227,8 @@
);
}
closedir(INDEX);
+ @items = sort { $a->{filename} cmp $b->{filename} } @items;
+ @items = sort { $a->{file} <=> $b->{file} } @items;
$template->param( items => \@items );
my $parent = $topic;
$parent =~ s|/[^/]*/$|/|;
- Prev by Date: CVS Update: svartalfheim.net
- Next by Date: CVS Update: svartalfheim.net
- Previous by thread: CVS Update: gleipnir
- Next by thread: CVS Update: gleipnir
- Index(es):