forked from lino/radar-wp
Correct view URL field name.
This commit is contained in:
parent
86383280c9
commit
fab4fb3ea2
1 changed files with 2 additions and 2 deletions
|
@ -96,8 +96,8 @@ function _radar_field_collect_subfields(&$fields) {
|
||||||
*/
|
*/
|
||||||
function _radar_field_name_mapping($fields) {
|
function _radar_field_name_mapping($fields) {
|
||||||
// Replace the nice entity names with (exposed) internal field names.
|
// Replace the nice entity names with (exposed) internal field names.
|
||||||
$nice_names = array('url', 'date', 'group', 'location');
|
$nice_names = array('date', 'group', 'location');
|
||||||
$ugly_names = array('view_url', 'date_time', 'og_group_ref', 'offline');
|
$ugly_names = array('date_time', 'og_group_ref', 'offline');
|
||||||
return str_replace($nice_names, $ugly_names, $fields);
|
return str_replace($nice_names, $ugly_names, $fields);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue