You can use hook_form_alter or hook_views_pre_render and check the url with $_GET or current_path() ,it's the fast and easy way.
Or you can play with Views create entity reference Filter (entityreference_filter) add your CONTEXTUAL FILTERS after that in your view add Reference Filter in Filter Criteria.