It seems to me that in COREBlog 1.2.4, subcategories can be entered and are stored for entries, but they aren’t actually used anywhere.  Am I wrong about this?

 

I’d like to modify get_entry_in_category in my COREBlog.py such that it takes an additional argument called consider_subcategories.  It would default to 0 (for backwards compatibility) if it wasn’t present.  If set to 0, then the current behavior (only consider the main category and not the subcategories when determining whether to return an entry or not) is what you’d get.  If set to 1, then it would also return entries that had the category you’re looking for as a subcategory.

 

Is there a reason I should not do this?

 

Rich

 

_______________________________________________
COREblog-en mailing list
[email protected]
http://postaria.com/cgi-bin/mailman/listinfo/coreblog-en
Unsubscription writing to [EMAIL PROTECTED]

Reply via email to