
| Key: |
DS-131
|
| Type: |
Bug
|
| Status: |
Resolved
|
| Resolution: |
Fixed
|
| Priority: |
Major
|
| Assignee: |
Unassigned
|
| Reporter: |
Tim Donohue
|
| Votes: |
0
|
| Watchers: |
0
|
|
If you were logged in you would be able to see more operations.
|
|
|
|
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!
|
|
Description
|
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! |
Show » |
|
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.