Filter does not load term names. Terms are shown with their TIDs, not with titles.
Also we have node fields (list_text) with values and descriptions.

a|Alpha
b|Bravo
c|Charlie

Selective filter shows keys only: a, b, c. We need full text in filter list.
How can we get it?

CommentFileSizeAuthor
#9 views_hacks-tids-1572138-9.patch1.13 KBshawngo
#5 diff.txt607 bytesdmitrii

Comments

drupive’s picture

Same issue here.
I have Content: Has taxonomy term (selective)(exposed), but it is only showing tid's not term names.

pavantar’s picture

Priority: Normal » Critical

Same problem

rotty_dean’s picture

Same here.

On - Content: Author (exposed)

2eazy’s picture

Same problem here, I would be very happy if it could be fixed soon :) BTW I just want to thank the contributors of View Hacks in general and Selective Views in particular... You are doing a great job adding the final touches to Views :)

dmitrii’s picture

StatusFileSize
new607 bytes

patch in attachments works for me
ps: only for taxonomy
pps: patch for views_handler_filter_selective.inc

farrington’s picture

Had the same problem with Taxomomy, and the patch in #5 solved it for me.

Thanks @dmitrii.

sludwig’s picture

The patch in #5 works for us too. But we got some SQL-Error if we had no key-values. So we added an additional check "if (count($keys)>0)" before the db_query ...

romansta’s picture

The patch in #5 works for me too.

shawngo’s picture

StatusFileSize
new1.13 KB

Just to verify the implementation of the patch in #5 I'm adding one created with git. It seems to have worked in that it replaced the TIDs with the proper term title.

doliveros’s picture

Thanks @sludwig. After applying the patch, I had some sql errors too. Checking if $keys had values solved the problem for me. It would be good to add that line to the patch.

inferno_msk’s picture

and for text fields?

infojunkie’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

This module has been deprecated in favour of https://drupal.org/project/views_selective_filters. Please test there and reopen if necessary.