Return-Path: Delivered-To: apmail-incubator-jspwiki-dev-archive@minotaur.apache.org Received: (qmail 72893 invoked from network); 27 Apr 2009 11:49:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Apr 2009 11:49:54 -0000 Received: (qmail 49205 invoked by uid 500); 27 Apr 2009 11:49:53 -0000 Delivered-To: apmail-incubator-jspwiki-dev-archive@incubator.apache.org Received: (qmail 49100 invoked by uid 500); 27 Apr 2009 11:49:53 -0000 Mailing-List: contact jspwiki-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jspwiki-dev@incubator.apache.org Delivered-To: mailing list jspwiki-dev@incubator.apache.org Received: (qmail 49029 invoked by uid 99); 27 Apr 2009 11:49:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Apr 2009 11:49:53 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Apr 2009 11:49:51 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7A9D3234C054 for ; Mon, 27 Apr 2009 04:49:30 -0700 (PDT) Message-ID: <2049921711.1240832970501.JavaMail.jira@brutus> Date: Mon, 27 Apr 2009 04:49:30 -0700 (PDT) From: "Greg Kable (JIRA)" To: jspwiki-dev@incubator.apache.org Subject: [jira] Updated: (JSPWIKI-526) Allow administrators to select the Comparator used for sorting page lists by name In-Reply-To: <314219789.1240372548007.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JSPWIKI-526?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Greg Kable updated JSPWIKI-526: ------------------------------- Attachment: jspwiki-526-PageSorter.patch Patch as discussed in the previous comment. > Allow administrators to select the Comparator used for sorting page lists by name > --------------------------------------------------------------------------------- > > Key: JSPWIKI-526 > URL: https://issues.apache.org/jira/browse/JSPWIKI-526 > Project: JSPWiki > Issue Type: Improvement > Components: Localization > Reporter: Greg Kable > Priority: Minor > Attachments: jspwiki-526-PageSorter.patch > > > I personally hate the order of pages returned by the standard sorting routines and would rather an order that understood numeric ordering. That is, instead of having the list: > WikiPage1 > WikiPage10 > WikiPage2 > I'd like to get the list: > WikiPage1 > WikiPage2 > WikiPage10 > There are also many other case, especially for localisation, where being able to set the page name order would be useful. > To achieve this, I propose adding a JSPWiki property which specifies the Comparator to be used for page names. Before I do the work and submit a patch, I'd like to know: > - Would this be a welcome feature? > - Is jswpwiki.pageNameComparator an appropriate property name? If not, what do you suggest? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.