• Resolved tharnendil

    (@marekmierzwa)


    Hi,

    Currently, when I select a district on an archive page only the meetings of the groups directly attached to this district are searched.
    Is there any way to change this behavior so that all the meetings from sub-districts are displayed as well?

    As an example – this list displays no meeting:

    https://spis.aa.org.pl/index.php/meetings/?tsml-day=any&tsml-district=region-galicja

    What I would like to achieve is that is will display all the meetings from intergrupa-kresy AND intergrupa-malopolska AND … AND intergrupa-sadecka which are the sub-districts of the region-galicja district. In other words – select them recursively by the district.

    I can write some modifications in the functions.php (child theme) or additional plugin if that’s required but I would appreciate at least some direction.

    Best wishes,
    Marek

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • lovethecode

    (@lovethecode)

    click regions in the TSML admin area

    please set for each district:
    parent: region-galicja

    then, the url should work to show all subdistricts

    Thread Starter tharnendil

    (@marekmierzwa)

    Hi @lovethecode,

    This is exactly the way I’ve done it in the first place and the result is what I described. The dropdown shows the sub-districts but the list does not display the meetings (more precisely – meetings of the groups) that are assigned to them; only the meetings of groups directly assigned to the parent district are shown.

    Best wishes,
    Marek

    Plugin Author tech2serve

    (@tech2serve)

    Hi @marekmierzwa,

    Would you please come to dev/code site and write up a Feature Request (Open an Issue)?

    This will help our small group of developers bounce the idea around and potentially put some code against it.

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Filtering by district + sub-districts’ is closed to new replies.