From 60720bddb27c763d8dfb95eae9f1b49506b3897f Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Wed, 27 Aug 2014 23:45:13 +0200 Subject: Modified category sort logic to fit 7db86c6 * correct sorting by size requires the "data-type" attribute to be set to "number" * pages are now first sorted as two halves ** descending / ascending respectively * the sorted set is then split into actual halves * the output loop alternates between these halves * changed test for existance to actual test for existance instead of calculating it by ourselfes --- source/99_result/category/category.xsl | 34 +++++++++++++++++++++++----------- 1 file changed, 23 insertions(+), 11 deletions(-) (limited to 'source/99_result') diff --git a/source/99_result/category/category.xsl b/source/99_result/category/category.xsl index 1713c84..e69640b 100644 --- a/source/99_result/category/category.xsl +++ b/source/99_result/category/category.xsl @@ -45,24 +45,36 @@ - - + + + + + + + + + + + + + - + + + + - + + + + + - + - - - - - - -- cgit v1.2.3