Welcome, Guest
Username Password: Remember me

Module Filtering does not seem to work?
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Module Filtering does not seem to work?

Module Filtering does not seem to work? 22 Nov 2011 19:05 #2990

  • Bill Nye
  • OFFLINE
  • Fresh Boarder
  • Posts: 16
Hello,

I have created a module to use as a recent sermon listing. I am trying to use some of the filter options to select only the top 5 sermons that have a particular topic and have a particular message type.

No matter what I filter parameters I change on the module, I get the same list of studies. I can change the layout and visual parameters and see change occurring so I'm pretty sure the right module is appearing in the right place.

I always get the top five studies chronologically in the database.

I am using JBS 7.0.1 on Joomla 1.7.3

I suspect there is some setting that I am not thinking of that may be inhibiting the filter settings.

Thanks for your help

Re: Module Filtering does not seem to work? 22 Nov 2011 20:28 #2991

  • Tom
  • OFFLINE
  • Moderator
  • Posts: 316
Hi Bill,

Just wanted you to know that there are some bugs in the module. I'm working on it and will hope to have a new version out tomorrow (11-23) Lord willing.

Thanks for catching this - there was an error in the parameters xml file, but also some big problems with the helper.php file that runs the database query.

Tom

Re: Module Filtering does not seem to work? 23 Nov 2011 13:10 #2992

  • Tom
  • OFFLINE
  • Moderator
  • Posts: 316
Hi again, Bill.

I worked last night and today on a new version of the module. Not only did I fix the bug for the and/or (which was your initial problem) I rewrote the model completely, allowing for a pretty complex filtering.

Now you can have multiple teachers, for instance, which will be handled with an OR condition (currently you can only have one teacher per study) but then have an AND condition for book or location or whatever.

Conditions within the same field are always OR but you choose between tables to use AND/OR.

Anyway - it's version 7.0.3 which you can find in the downloads area under 7.0 releases.

Tom
  • Page:
  • 1
Time to create page: 0.52 seconds