Issue #1191660 by ParisLiakos, Jon_B: Add Tag to Filter Query in admin/content/node.

merge-requests/26/head
David Rothstein 2014-05-05 19:52:00 -04:00
parent 00e500bbb1
commit 57bd9625f3
2 changed files with 3 additions and 0 deletions

View File

@ -1,6 +1,8 @@
Drupal 7.28, xxxx-xx-xx (development version) Drupal 7.28, xxxx-xx-xx (development version)
----------------------- -----------------------
- Added a "node_admin_filter" tag to the database query used to build the list
of nodes on the content administration page, to make it easier to alter.
- Made the cron queue system log any exceptions that are thrown while an item - Made the cron queue system log any exceptions that are thrown while an item
in the queue is being processed, rather than stopping the entire PHP request. in the queue is being processed, rather than stopping the entire PHP request.
- Improved screen reader support by adding an aria-live HTML attribute to file - Improved screen reader support by adding an aria-live HTML attribute to file

View File

@ -471,6 +471,7 @@ function node_admin_nodes() {
$header['operations'] = array('data' => t('Operations')); $header['operations'] = array('data' => t('Operations'));
$query = db_select('node', 'n')->extend('PagerDefault')->extend('TableSort'); $query = db_select('node', 'n')->extend('PagerDefault')->extend('TableSort');
$query->addTag('node_admin_filter');
node_build_filter_query($query); node_build_filter_query($query);
if (!user_access('bypass node access')) { if (!user_access('bypass node access')) {