Issue 13513

In species search, when a long list is returned an...

13513
Reporter: thirsch
Assignee: mdoering
Type: Bug
Summary: In species search, when a long list is returned an...
Priority: Blocker
Resolution: Fixed
Status: Closed
Created: 2013-07-16 14:20:09.285
Updated: 2013-08-19 12:54:00.455
Resolved: 2013-08-19 12:54:00.411
        
        
Description: In species search, when a long list is returned and you click on the numbered buttons at the bottom, they don't lead anywhere (or rather they lead to a truncated version of the homepage). For example, see http://uat.gbif.org/species/search?dataset_key=da38f103-4410-43d1-b716-ea6b1b92bbac

*Reporter*: Tim Hirsch
*E-mail*: [mailto:thirsch]]]>
    


Author: mdoering@gbif.org
Comment: This is a critical bug already discovered for the dataset search and probably effects all paging in the portal. 
Created: 2013-07-16 14:38:19.016
Updated: 2013-07-16 14:38:19.016


Author: fmendez@gbif.org
Created: 2013-08-19 11:18:38.12
Updated: 2013-08-19 11:18:38.12
        
There's something wrong with the pagination macro:

The navigation links have different URLs to the current page URL, for example:

Search page url:
http://uat.gbif.org/species/search?dataset_key=da38f103-4410-43d1-b716-ea6b1b92bbac
Link to page 2
http://uat.gbif.org/portal/species/search?dataset_key=da38f103-4410-43d1-b716-ea6b1b92bbac&offset=20

The link uses "../portal/.." which is not part of the current page url.


    


Author: mdoering@gbif.org
Comment: It is part of the current url on the webserver. The webapp runs in context /portal, but is exposed without it via varnish. Thats the problem
Created: 2013-08-19 11:23:33.634
Updated: 2013-08-19 11:23:33.634


Author: mdoering@gbif.org
Comment: https://code.google.com/p/gbif-portal/source/detail?r=1789
Created: 2013-08-19 12:54:00.454
Updated: 2013-08-19 12:54:00.454