The Content Type Filter lets you filter content listing pages simply by
adding admin/content/types/story to the URL (for example).
You want to see the blog content type content then you need to use
following URL
http://YOURSITE.com/admin/content/types/blog
Project Page: https://drupal.org/project/content_type_filter

Demo site: http://digcms.com/drupal/
Admin Username : admin
Admin password : admin

After login visit the following URL:
http://digcms.com/drupal/admin/content/types/article

https://drupal.org/project/1736392/git-instructions

git clone --branch master purab@git.drupal.org:sandbox/purab/1736392.git
content_type_filter

CommentFileSizeAuthor
20130810-141722.png47.86 KBpurabdk

Comments

PA robot’s picture

Multiple Applications
It appears that there have been multiple project applications opened under your username:

Project 1: https://drupal.org/node/2061957

Project 2: https://drupal.org/node/2060241

Project 3: https://drupal.org/node/2059365

As successful completion of the project application process results in the applicant being granted the 'Create Full Projects' permission, there is no need to take multiple applications through the process. Once the first application has been successfully approved, then the applicant can promote other projects without review. Because of this, posting multiple applications is not necessary, and results in additional workload for reviewers ... which in turn results in longer wait times for everyone in the queue. With this in mind, your secondary applications have been marked as 'closed(duplicate)', with only one application left open (chosen at random).

If you prefer that we proceed through this review process with a different application than the one which was left open, then feel free to close the 'open' application as a duplicate, and re-open one of the project applications which had been closed.

I'm a robot and this is an automated message from Project Applications Scraper.

PA robot’s picture

Status: Needs review » Needs work

There are some errors reported by automated review tools, did you already check them? See http://ventral.org/pareview/httpgitdrupalorgsandboxpurab1736392git

We are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)

Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).

I'm a robot and this is an automated message from Project Applications Scraper.

purabdk’s picture

Status: Needs work » Closed (fixed)
klausi’s picture

Status: Closed (fixed) » Closed (duplicate)
klausi’s picture

Issue summary: View changes

Added the Demo site link and with admin credentials.

stefan.r’s picture

purabkharat,

It appears all 4 of your applications have been marked as duplicates.

Feedback on your code:

  • Doesn't run if the filter had already been set in the session
  • Published filter is on by default (ie. status-1)
  • Redirects to $_GET['q'] instead of just to 'admin/content'
  • Uses 'types' as url argument instead of 'type' while it only accepts one value

Perhaps you could try something like this instead in the form_alter?

 if ($form_id == 'node_admin_content' && arg(2) == 'type' && in_array(arg(3), array_keys(node_type_get_types()))) {
    if (!empty($_SESSION['node_overview_filter'])) {
      foreach ($_SESSION['node_overview_filter'] as $index => $filter) {
        if ($filter[0] == 'type') {
          // Unset old type filter
          unset($_SESSION['node_overview_filter'][$index]);
          // Recalculate indexes
          $_SESSION['node_overview_filter'] = array_values($_SESSION['node_overview_filter']);
        }
      }
    }
    // Set new type filter
    $_SESSION['node_overview_filter'][] = array('type', arg(3));
    drupal_goto('admin/content');
  }
  return $form;
stefan.r’s picture

Issue summary: View changes
Status: Closed (duplicate) » Needs work
PA robot’s picture

Status: Needs work » Closed (won't fix)

Closing due to lack of activity. Feel free to reopen if you are still working on this application (see also the project application workflow).

I'm a robot and this is an automated message from Project Applications Scraper.