From 6cdca3390489f30f079fa624f8f155a141a9cca6 Mon Sep 17 00:00:00 2001
From: inga-lovinde <52715130+inga-lovinde@users.noreply.github.com>
Date: Thu, 16 Sep 2010 17:52:46 +0000
Subject: [PATCH] Reversed lists experience improved
---
IISMainHandler/PageOuter.cs | 2 +-
templates/Full/elems/Main.xslt | 11 ++++++++++-
2 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/IISMainHandler/PageOuter.cs b/IISMainHandler/PageOuter.cs
index 60efa96..5379aea 100644
--- a/IISMainHandler/PageOuter.cs
+++ b/IISMainHandler/PageOuter.cs
@@ -68,7 +68,7 @@ namespace FLocal.IISHandler {
public XElement exportToXml(int left, int current, int right) {
XElement result = new XElement("pageOuter",
- new XElement("isReversed", this.reversed),
+ new XElement("isReversed", this.reversed.ToPlainString()),
new XElement("unlimited", (this.count < 1).ToPlainString()),
new XElement("start", this.start),
new XElement("count", this.count),
diff --git a/templates/Full/elems/Main.xslt b/templates/Full/elems/Main.xslt
index 287af67..9fef2c1 100644
--- a/templates/Full/elems/Main.xslt
+++ b/templates/Full/elems/Main.xslt
@@ -184,6 +184,7 @@
+
-1
|
@@ -191,7 +192,11 @@
-
+
+
+
+
+
@@ -205,6 +210,7 @@
+
-1
@@ -214,6 +220,9 @@
+
+ /reversed
+