If you add a checkbox to a taxonomy term, the status of the checkbox is not available via Views unlike all the other fields.

In my particular case, I was trying to create a "Published" or active state for each taxonomy term so a client could choose which terms are current. Using Views Filters, I was going to sort by only items that were checked.

But once over in views, checkboxes values were not accessible at all. I do think this should be added (even though D7 won't be using this module). As a work around, I used a select box, with a key of 1 and a visible text of "Published". Inside views, it supplies a value box, and you just enter the key, or "1".

CommentFileSizeAuthor
#4 1050084-views-checkbox-4.patch688 bytesalexfisher

Comments

b-prod’s picture

Version: 6.x-1.9 » 6.x-1.x-dev
Category: bug » feature

This would be a new feature, currently the views support is very basic. If you can provide a patch, I would be glad to test it.

Ankabout’s picture

I think maybe you should change the description on the module page. It says "all types can be used as filters" and that it's "fully integrated with views". Not a big problem, but it caused me to look for ages to find how to get it to work.

b-prod’s picture

Changed in the description

alexfisher’s picture

Status: Active » Patch (to be ported)
StatusFileSize
new688 bytes

Hey guys, here's a go at a patch for this feature.

iamjon’s picture

Status: Patch (to be ported) » Needs review

What's the difference bettween this thread and #689956: Add support for checkbox fields - views handler

I'm quite sure that you need to have your patch reviewed before it's ready to be committed.

b-prod’s picture

Version: 6.x-1.x-dev » 6.x-2.x-dev
Status: Needs review » Fixed

Ported in the 2.x DEV release.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.