Invert the way categories are specified

srjosh - April 29, 2009 - 22:26
Project:Search config
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review
Description

Right now, I'd love to use this module. However, I have a free-tagging category, which I'd like to exclude - without having to periodically go into the interface and add all the new tags to the exclusion list.

What I'd love to see is an inclusive list of categories - i.e. I pick only the types I want to include, rather than exclude.

I'll see if I can't patch this and upload later.

thanks
srjosh

#1

srjosh - April 30, 2009 - 17:02
Version:HEAD» 6.x-1.x-dev
Status:active» needs review

OK, give this a whirl. I borrowed some ideas from the way the FCKeditor does its inclusion/exclusion of particular editor boxes.

AttachmentSize
search_config-invert-categories.patch 2.39 KB

#2

canen - May 30, 2009 - 20:52

srjosh,

Can you make a patch against the latest version please?

Thanks.

#3

srjosh - June 4, 2009 - 21:58

I think this should work.

AttachmentSize
search_config-invert_categoriesv2.patch 2.36 KB
 
 

Drupal is a registered trademark of Dries Buytaert.