Fixed four queries to correct the episode flags #192

Merged
rho_n merged 0 commits from refs/pull/192/head into main 2024-05-18 15:19:09 +00:00
Owner

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.
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: HPR/hpr_generator#192
No description provided.