View Issue Details

IDProjectCategoryView StatusLast Update
0002363Composrcorepublic2016-07-15 21:35
ReporterChris GrahamAssigned ToChris Graham 
SeverityFeature-request 
Status resolvedResolutionfixed 
Product Version 
Fixed in Version 
Summary0002363: Change $zone parameter in build_url to default to '_SEARCH'
DescriptionCurrently it defaults to '', i.e. welcome zone. An auto-search makes more sense.

Then we can cleanup all the build_url calls that do get_module_zone calls for the $zone parameter, removing those.
TagsNo tags attached.
Time estimation (hours)2
Sponsorship open

Activities

Chris Graham

2016-07-15 11:42

administrator   ~0004131

Regexp to help:

build_url\(array\('page' => '([^']*)'([^\(\)]*)\), get_module_zone\('\1'\)
-->
build_url(array('page' => '$1'$2), '_SEARCH'

Chris Graham

2016-07-15 21:35

administrator   ~0004139

I've cleaned the API and some calls, but not all the module calls. This is because _SEARCH would find Comcode pages with the same names as modules, and we don't want to introduce such common conflict.

Issue History

Date Modified Username Field Change
2016-03-30 22:33 Chris Graham New Issue
2016-07-15 11:42 Chris Graham Note Added: 0004131
2016-07-15 21:35 Chris Graham Note Added: 0004139
2016-07-15 21:35 Chris Graham Status non-assigned => resolved
2016-07-15 21:35 Chris Graham Resolution open => fixed
2016-07-15 21:35 Chris Graham Assigned To => Chris Graham