action #29925
openSearching for "not last (time period)" in needle admin interface does not find needles last use/match was "never"
0%
Description
If you go to the admin interface Needles page, then search for needles which were last used or last matched "not in the last 2 weeks" (or 4 weeks or 2 months or whatever), it will not show needles which have never been used or matched, when clearly it should.
Perhaps this was thought to be a not-worth-dealing with corner case, because it'd be odd for a needle to never have been used or matched. In fact it doesn't seem to be that uncommon: we (Fedora) have several dozen needles whose 'last matched' time is 'Never'. I'm not sure why this is, but it could happen if a new openQA instance is deployed using a distri repo that's been around a long time and contains some stale needles (which thus will never be matched), or perhaps it's something about the 'last matched' info not being accurate for old needles for some reason.