From 4674d80692754aeb877b44996b10969f507e9092 Mon Sep 17 00:00:00 2001 From: inga-lovinde <52715130+inga-lovinde@users.noreply.github.com> Date: Fri, 25 Jun 2010 06:29:24 +0000 Subject: [PATCH] Upload sorting improved on UploadList page --- Builder/IISMainHandler/build.txt | 2 +- Builder/IISUploadHandler/build.txt | 2 +- IISMainHandler/handlers/response/UploadListHandler.cs | 6 +++++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Builder/IISMainHandler/build.txt b/Builder/IISMainHandler/build.txt index 9d239ff..87d78b2 100644 --- a/Builder/IISMainHandler/build.txt +++ b/Builder/IISMainHandler/build.txt @@ -1 +1 @@ -321 \ No newline at end of file +322 \ No newline at end of file diff --git a/Builder/IISUploadHandler/build.txt b/Builder/IISUploadHandler/build.txt index 8783e30..43c451e 100644 --- a/Builder/IISUploadHandler/build.txt +++ b/Builder/IISUploadHandler/build.txt @@ -1 +1 @@ -53 \ No newline at end of file +54 \ No newline at end of file diff --git a/IISMainHandler/handlers/response/UploadListHandler.cs b/IISMainHandler/handlers/response/UploadListHandler.cs index a868c13..b4a55ec 100644 --- a/IISMainHandler/handlers/response/UploadListHandler.cs +++ b/IISMainHandler/handlers/response/UploadListHandler.cs @@ -31,7 +31,11 @@ namespace FLocal.IISHandler.handlers.response { new SortSpec( Upload.TableSpec.instance.getColumnSpec(Upload.TableSpec.FIELD_UPLOADDATE), true - ) + ), + new SortSpec( + Upload.TableSpec.instance.getIdSpec(), + true + ), } ) select int.Parse(stringId) );