[ http://jira.dspace.org/jira/browse/DS-131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=10187#action_10187 ]
Graham Triggs commented on DS-131: ---------------------------------- We have two very easy options for this: 1) Add org.dspace.text.filter.StripLeadingNonAlphaNum to the list of TextFilters used in org.dspace.sort.OrderFormatTitle 2) In dspace.cfg, replace org.dspace.sort.OrderFormatTitle with org.dspace.sort.OrderFormatTitleMarc21 The second option provides a more advanced initial article word replacement, that works correctly for many languages. The reason it is not used by default - and why the default ordering does not strip punctuation - is to replicate the behaviour of pre-1.5.x instances. I'm quite happy to declare the previous behaviour a bug though, and implement one of the options above. > Browse By Title displays all titles beginning with punctuation at the top of > the list > ------------------------------------------------------------------------------------- > > Key: DS-131 > URL: http://jira.dspace.org/jira/browse/DS-131 > Project: DSpace 1.x > Issue Type: Bug > Components: DSpace API, JSPUI, XMLUI > Affects Versions: 1.5.0, 1.5.1 > Reporter: Tim Donohue > > When browsing by title in either the JSPUI or the XMLUI, titles which contain > punctuation appear at the top of the listing. > As an example, the following list provides an example of the title ordering > problems currently in DSpace 1.5.1: > "Why is this title first?": It's because it starts with a quote! > ...And this is another title starting with punctuation > 200: a title starting with a number > This is a title with no punctuation at the beginning > Why is this title last?: It's because it doesn't start with punctuation! > Instead, we should probably ignore punctuation. So, the real order should be > this: > 200: a title starting with a number > ...And this is another title starting with punctuation > This is a title with no punctuation at the beginning > "Why is this title first?": It's because it starts with a quote! > Why is this title last?: It's because it doesn't start with punctuation! -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.dspace.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ _______________________________________________ Dspace-devel mailing list Dspace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-devel