added category filter 'all categories'
minor fix controller search with/without permalinks