Problem
Filtering nodes by 'Status' in Views gives the opposite results to what it should.
Modules installed
- Search API RC1
- Entity API RC1
- Views RC3
Steps to reproduce
- Enable default index
- Add 'Status' to index as Boolean
- (Re)index content
- Run cron*
- Clear all caches*
- Wait 5 minutes*
*Probably not necessary, but just to make sure...
Add a filter for published nodes and only unpublished nodes are shown. Changing the filter to unpublished nodes and only published nodes are shown.
Comments
Could be related to this issue: #1263214: Indexing with „Index items immediately“ indexes old entity state - However, 'Index immediately' is not checked.
It's not a big issue because I just select the opposite of what I want in Views...
Comments
Comment #1
drunken monkeyThat seems to stem from the Entity API returning the false labels for that field. The attached patch should not only fix this, but also uses the shiny node constants.
Comment #2
tnightingale commentedWorks for me, thanks!
Comment #3
fagoouch. Thanks, committed.
Comment #5
fenda commentedIs it me or is this still broken?
Comment #6
achton@drupaljoe: The patch in #1 was definitely commited. Do you still think this is broken?
Comment #7
fenda commented@achton My apologies, its over a year since my last commit and I have completely forgotten where I was experiencing broken functionality. If it comes back to me or I experience it again, i'll comment back.