Fixed slight bug in PageOuter

main
Inga 🏳‍🌈 15 years ago
parent dc774dcb7f
commit 127add249c
  1. 1
      IISMainHandler/PageOuter.cs

@ -78,6 +78,7 @@ namespace FLocal.IISHandler {
pages.Add(startFloor + i*this.perPage); pages.Add(startFloor + i*this.perPage);
} }
} }
pages.Add(this.start);
result.Add(new XElement("pages", result.Add(new XElement("pages",
from page in pages where (page >= 0) && (page <= this.total) orderby page select new XElement("page", page) from page in pages where (page >= 0) && (page <= this.total) orderby page select new XElement("page", page)
)); ));

Loading…
Cancel
Save