How to pass an argument to a view?
There is another solution for that. Try to use the FacetAPI module: http://drupal.org/project/facetapi

Then you can create a view and integrate the taxonomy terms with the drupal search as explained in the following link:

http://envisioninteractive.com/drupal/drupal-7-views-with-faceted-filters-without-apachesolr/