FIX: if the category slug is not present then search via ID (PR #14060)

Meta ref: When click traditional-chinese category in search, it only puts # - bug - Discourse Meta

GitHub

We should update the test cases to reflect the changes here.

Tests have been added for this case.