How to use last parameter (term) as a filter in a view I'm using Drupal 7 as a document management system and I've got a taxonomy vocabulary called "Document Tags" with the following structure:

Accounting
  Best Practices
  Client 1
  Client 2
HR
  Forms
  Policies
IT
Office Management
   Photos
   Org Charts


I created a block view using Views Tree and set up the tree structure that works well so that the categories are nested and expand properly, and are each linked like so:

mysite.com/docs/accounting
mysite.com/docs/accounting/best-practices
mysite.com/docs/accounting/client-1
mysite.com/docs/hr
mysite.com/docs/hr/forms


My document view uses the contextual filter "Content: Has taxonomy term ID" and then in the filter as shown.  When I click on a first level category (Accounting, HR, IT, Office Management, etc.) it works great but anything underneath only displays the documents tagged with the top level, so it's evidently only using the first parameter in the display.

Is there a way to have the filter always pull the last URL parameter (e.g. "forms" in the URL mysite.com/docs/hr/forms)?

UPDATED - here are screenshots of the two pages and their results:
http://tentenstudios.com/storage/page_1_filter.png
http://tentenstudios.com/storage/page_1_results.png
http://tentenstudios.com/storage/page_2_filter.png
http://tentenstudios.com/storage/page_2_results.png
Yes, you can add a separate block with the same settings and in the contextual filter get form from the url.

Add the blocks in the same region and in the visibility settings select Only the listed pages and add docs/*/* for child terms and to the other block add docs/* for the parent terms.

UPDATED:

If you have a Taxonomy type page view then you can do the following thing.



Create tow pages with path as docs/* for parent terms and docs// for child terms i.e. form.

In the contextual filter add term id and select This Page override. and check Provide default value. In the Type drop-down select Raw value from URL and then from Path select 3 for docs/%/% path and 2 for docs/% path.