"Letter" links have broken URLs in 2nd-stage Browse
---------------------------------------------------

                 Key: DS-373
                 URL: http://jira.dspace.org/jira/browse/DS-373
             Project: DSpace 1.x
          Issue Type: Bug
          Components: XMLUI
    Affects Versions: 1.5.2, 1.6.0
         Environment: all
            Reporter: Larry Stone
            Assignee: Larry Stone
            Priority: Minor
             Fix For: 1.6.0
         Attachments: browse-letter.diff.txt

As one of our library staff noticed, the letter links at the top of the Browse 
pages are incorrect for the second stage of a 2-stage browse index.  

To demonstrate, in a default configuration, click on the "Authors" browse-by 
index (the relative URL /browse?type=author).  Then, click on one of the author 
names listed to get to a list of Items for that author.  Try one of the 
"letter" links at the top of the page which normally jump to first-stage browse 
values starting with that letter -- observe that it goes to some random set of 
Items instead of the expected segment of first-stage browse results.

The reason is that on the second-stage browse result page, all those "letter" 
URLs include the "value" or "authority" parameter from the page request. 

The attached patch fixes it by removing those parameters, and also saves some 
wasted copying of parameter lists by creating one map and successively 
replacing the STARTS_WITH value in it.

-- 
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

        

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to