[ 
https://jira.duraspace.org/browse/DS-816?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter Dietz updated DS-816:
---------------------------

    Attachment: xmlui-advanced-search-search-type-order.diff

Patch to chance implementation to ArrayList instead of map, so that the order 
would match the search.index to first occurence of one of its type.
Instead of building the object of search-types with N objects, and then pulling 
out the K uniques, within the checking of the N objects from the config we use 
them immediately, and add the used search types to a list that we excluded 
ourselves from adding more like it.

> Order of search types in XMLUI Advanced Search is arbitrary
> -----------------------------------------------------------
>
>                 Key: DS-816
>                 URL: https://jira.duraspace.org/browse/DS-816
>             Project: DSpace
>          Issue Type: Bug
>          Components: XMLUI
>    Affects Versions: 1.5.0, 1.5.1, 1.5.2, 1.6.0, 1.6.1, 1.6.2, 1.7.0
>            Reporter: Peter Dietz
>            Assignee: Peter Dietz
>             Fix For: 1.7.1, 1.8.0
>
>         Attachments: xmlui-advanced-search-search-type-order.diff
>
>
> The ordering of search types on the advanced-search page is completely 
> arbitrary in XMLUI.
> The expected order of search types should follow what is listed in 
> dspace.cfg's search.index.<num>, as is how JSPUI functions. 
> However the current behavior of xmlui's order of search types is arbitrary 
> and is the result of the implementation of Java's map object.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.duraspace.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to