Download & Extend

Multiple filters handled incorrectly -- with patch

Project:FeedAPI Item Filter
Version:6.x-1.1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:reviewed & tested by the community
Issue tags:patch

Issue Summary

If multiple filters are defined, then two bugs are present:

  • Filters are sorted by name, not weight, and applied in that order
  • All filters are passed the options for the last filter in the list
    • The attached patch fixes both issues.

AttachmentSize
feedapi_itemfilter-fix-multiple-filters.patch800 bytes

Comments

#1

Status:needs review» reviewed & tested by the community

+1

I just wrote the same patch myself. Should have looked here first - doh! But I guess writing the same thing counts as tested by the community ;)