View Issue Details

IDProjectCategoryView StatusLast Update
2363Composrcorepublic2016-07-15 21:35
ReporterChris Graham Assigned ToChris Graham  
PrioritynormalSeverityfeature 
Status resolvedResolutionfixed 
Summary2363: 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.
Attach Tags
Time estimation (hours)2
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

Chris Graham

2016-07-15 11:42

administrator   ~4131

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

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 Not Assigned => Resolved
2016-07-15 21:35 Chris Graham Resolution open => fixed
2016-07-15 21:35 Chris Graham Assigned To => Chris Graham