Fixed four queries to correct the episode flags #192

Merged
ken_fallon merged 1 commits from 190_clean_shows_when_not into main 2024-05-18 15:19:09 +00:00
Collaborator

templates/queries-correspondent-mysql.tpl.html,
templates/queries-correspondent-sqlite.tpl.html,
templates/queries-index-mysql.tpl.html,
templates/queries-index-sqlite.tpl.html: All SQL queries used a CASE
expression to return either 'Explicit' or 'Clean' depending on the
0/1 setting of the 'explicit' column. However, the TT² templates
using these queries were written to expect the numeric form. All the
'CASE' expressions have been replaced by the field name and now the
correct flag is being displayed.

templates/queries-correspondent-mysql.tpl.html, templates/queries-correspondent-sqlite.tpl.html, templates/queries-index-mysql.tpl.html, templates/queries-index-sqlite.tpl.html: All SQL queries used a CASE expression to return either 'Explicit' or 'Clean' depending on the 0/1 setting of the 'explicit' column. However, the TT² templates using these queries were written to expect the numeric form. All the 'CASE' expressions have been replaced by the field name and now the correct flag is being displayed.
davmo added 1 commit 2024-05-18 15:06:28 +00:00
templates/queries-correspondent-mysql.tpl.html,
templates/queries-correspondent-sqlite.tpl.html,
templates/queries-index-mysql.tpl.html,
templates/queries-index-sqlite.tpl.html: All SQL queries used a CASE
    expression to return either 'Explicit' or 'Clean' depending on the
    0/1 setting of the 'explicit' column. However, the TT² templates
    using these queries were written to expect the numeric form. All the
    'CASE' expressions have been replaced by the field name and now the
    correct flag is being displayed.
ken_fallon merged commit d053ec253a into main 2024-05-18 15:19:09 +00:00
ken_fallon deleted branch 190_clean_shows_when_not 2024-05-18 15:21:41 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: rho_n/hpr_generator#192
No description provided.