fix2_next_available_episode #175

Merged
ken_fallon merged 2 commits from fix2_next_available_episode into main 2023-10-20 14:23:03 +00:00

2 Commits

Author SHA1 Message Date
Dave Morriss c8135d811d Bug fix of query to find days to next free slot
templates/queries-index-mysql.tpl.html,
templates/queries-index-sqlite.tpl.html:
    Rather than driving the search from the eps table itself, this
    version makes a counter that generates slot numbers from the current
    show number to the highest show number in the system. The counter is
    used to interrogate the eps table to find the first empty slot. This
    sems to be a more reliable approach (but time will tell).
2023-10-20 13:37:37 +01:00
Dave Morriss dab80f1772 Using even more complex CTE query for testing 2023-10-16 23:01:30 +01:00