Related/follow-up to #2743 ...
Describe your issue or idea
The settings in this page are already overwhelming as they are, and if more search items were to be added to the list, it would get longer and longer, requiring too much scrolling.
To top it off this section specifically does some weird things with its validation as well in order to ensure that the default search item does not get disabled, introducing a really weird UI pattern:
I feel that if we converted this to the same UI pattern we use in the Language management UI, it would be much better...
Steps to reproduce (if reporting a bug)
Navigate to /admin/config/search/settings
Recent comments
Can you please create an issue in the issue queue of the faulty module? Was it uc_coupon?
Shut out of site
The actual query would look like this (untested): $query = db_select('node'); $query->addField('node', 'nid'); $query->condition('node.type', 'webform'); $query->join('webform', '...
EntityFieldQuery get webform with block
Two routes to do this: Load all webform nodes (as you are doing) and then loop through the array of nodes and check if $node->webform['block'] is TRUE. If not, remove the node...
EntityFieldQuery get webform with block