I would like to have a filter on /admin/build/views page to show the enabled views only..

Comments

dawehner’s picture

Assigned: Unassigned » dawehner
Status: Active » Needs review
StatusFileSize
new1.09 KB

this is a first patch witch adds this filter.

i like the filter ;)

pasqualle’s picture

Status: Needs review » Needs work

notice: Undefined property: view::$disabled in views\includes\admin.inc on line 106.

I think it could be changed like:

if ($form_state['values']['status'] != 'all' && (!empty($view->disabled) == $form_state['values']['status'])) {
dawehner’s picture

Status: Needs work » Needs review
StatusFileSize
new1.04 KB

Thanks for reviewing it.

Updated version

merlinofchaos’s picture

Status: Needs review » Needs work

Good idea. This is one of several features that the Page Manager filters have that Views needs.

The filter appears between the "Sort by" and "Order" widgets, which is definitely a bad place. It should appear in the first line, with the other filters.

dawehner’s picture

Status: Needs work » Needs review
StatusFileSize
new1.07 KB

Yeah. I think this is only a temporary fix at least for the 3.x version.

I moved the status behind type, because this makes sense for me.

merlinofchaos’s picture

Status: Needs review » Fixed

Committed to both 3.x branches.

While I'm thinking of it, I created 2 feature requests for other Page Manager list features we should steal:

http://drupal.org/node/751968
http://drupal.org/node/751970

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.