Changes between Initial Version and Version 1 of Ticket #1651


Ignore:
Timestamp:
01/16/12 10:39:53 (2 years ago)
Author:
dread
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1651 – Description

    initial v1  
    22 
    33The reason this was done was to avoid links collecting parameters. 
    4 e.g. if you were on page dataset/search?q=pollution then by default all the links on that page generated by url_for (Routes) would include the q parameter as well. To avoid this, you had to go through all the links and add id=None to the url_for parameters. 
     4e.g. if you were on page /dataset/{id}/resource/{resource_id} then by default all the links on that page generated by url_for (Routes) would include the id and resource_id parameters as well. To avoid this, you had to go through all the links and add id=None and resource_id=None to the url_for parameters. 
    55 
    66When map.explicit was changed to True, the value of the controller, action, id and any parameters were no longer automatically carried over into the generated links for the page. So previously links within the same controller didn't need to specify the controller (for example), but now they did. So when we did this we also had to fix up links that weren't explicit: 
     
    1010 * https://github.com/okfn/ckan/commit/52d71102d9b07693ea240d4a66e8adb43e515414 
    1111 
    12 John made the config change on 5/11/2011 which was merged to master https://github.com/okfn/ckan/commit/5a01e67 21/11/2011. The related fixes mentioned were in within the same week. This all went into release 1.5.1. 
     12John made the config change on 5/11/2011 which was merged to master https://github.com/okfn/ckan/commit/5a01e67 21/11/2011. The related fixes mentioned were in within the same week. This all went into release 1.5.1. The requirement