Remove 'pending' status from search suggestions

The 'pending' status is a legacy status that is no longer distinguished
from 'open' or 'new'. The query is still supported in the backend for
backwards compatibility with external tools, but there's no need for it
to be suggested in the UI.

Remove the suggestions of 'status:pending' and 'is:pending'.

Note that we already don't show 'status:new' or 'is:new' suggestions.

Change-Id: I584c2754c1be2416f04b6a1d238069c348c52fd6
This commit is contained in:
David Pursehouse
2019-08-30 16:38:04 +09:00
parent f98394b174
commit fc72b94714

View File

@@ -60,7 +60,6 @@
'is:merged',
'is:open',
'is:owner',
'is:pending',
'is:private',
'is:reviewed',
'is:reviewer',
@@ -90,7 +89,6 @@
'status:closed',
'status:merged',
'status:open',
'status:pending',
'status:reviewed',
'topic:',
'tr:',