Commit cec8038e authored by merlinofchaos's avatar merlinofchaos
Browse files

patch by joshk to add an new argument default option to use the emptytext instead of 404ing

parent f980bcbf
......@@ -38,6 +38,10 @@ function _views_build_query(&$view, $args = array()) {
if (!$self_sort) {
$sort = true;
}
case 7:
// to trigger empty text, send back an empty query
$info['query'] = NULL
return $info;
break 2; // switch and for
}
}
......
......@@ -509,6 +509,7 @@ function _views_get_arguments_default() {
4 => t('Summary, sorted ascending'),
5 => t('Summary, sorted descending'),
6 => t('Summary, sorted as view'),
7 => t('Use Empty Text'),
);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment