Rock icon indicating copy to clipboard operation
Rock copied to clipboard

Group finder day filter does not find custom schedules

Open tstephens17 opened this issue 7 years ago • 3 comments

Prerequisites

Description

If custom schedules is enabled for the group type, the group finder day filter does not find them. Example, a group with a custom schedule of every 2 weeks on Thursday will not be found by the group finder if Thursday is selected. Even if the schedule was every 1 week on Thursday, no dice.

A clear and concise description of what the bug is, include screenshots if applicable.

Steps to Reproduce

  1. Set a regular weekly schedule of a day, let's say Thursday.
  2. Use the group finder and day filter set to Thursday.
  3. Notice the group is there.
  4. Change to a custom schedule of every 1 week on Thursday.
  5. Search again.
  6. Group is gone.

Expected behavior:

  1. I expected the group to be there.

Actual behavior:

  1. Group is not shown.

Versions

  • Rock Version: [Rock McKinley 8.3 (1.8.3.36)]
  • Client Culture Setting: [en-US]

tstephens17 avatar Nov 06 '18 15:11 tstephens17

Unfortunately I don't think this can be fixed. For a custom schedule, the schedule data is stored as an iCal string (which is long and cannot be parsed in SQL). Because it can't be parsed in SQL, where the DataView filtering happens, I don't think this can happen.

The only way I could think to do this would be to load ALL groups into memory and then process their schedules. That could add a decent delay to the load. Custom schedules also present other issues, such as a group that meets on multiple days of the week, or on odd weeks, etc.

cabal95 avatar Nov 06 '18 17:11 cabal95

I will say that a major percentage of our groups meet every other week or on a 1st/3rd or 2nd/4th rotation. So, this really hurts our group finder. I understand the difficulty but I think we all can agree that the group finder should be able to find custom schedules.

tstephens17 avatar Nov 06 '18 18:11 tstephens17

What about the idea of persistence? So, once per day/hour/etc a calc is made and then when a userfilters for groups based on a specific day of the week, it returns the stored results?

jrockman13 avatar Oct 24 '19 19:10 jrockman13

@tstephens17 We are doing some housekeeping and came across this oldie but goodie enhancement request. In regards to the Block Configuration/Group Finder Configuration - Day of Week filter not displaying custom schedules, I'd recommend submitting this as an idea on the Rock Community Ideas board via http://community.rockrms.com/ideas. This allows the full community to speak into it and help us determine it's priority. Thank you for the detailed submission and for helping to make Rock better!

chead4 avatar Jun 30 '23 22:06 chead4