Download & Extend

Add option to list only enabled views

Project:Drush Views
Version:6.x-3.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:pescetti
Status:closed (fixed)

Issue Summary

The particular use to which I'm putting drush_views requires that I be able to list only enabled views. The attached patch adds a command (views-list-enabled) which does that by passing a parameter to the drush_views_list() function and removing views where disabled is TRUE.

Comments

#1

Helps when I attach the patch

AttachmentSize
views_list_enabled-1216644.patch 2.15 KB

#2

Assigned to:Anonymous» pescetti
Status:needs review» fixed

Thanks, implemented with a different approach: you can now specify --status=enabled or --status=disabled when listing views.

#3

Status:fixed» closed (fixed)

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

nobody click here