Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
web_ui: make the backlog queries compatible with MySQL
The issue is that the databases are all a bit picky about the column type in a cast. MySQL wants `signed`, PostgreSQL and SQLite prefer `int` or `integer`. As a result, we have to customize the query based on the database being used. Trac has a `cast()` method on the `db` object, so let's use it to get the query into the right form.
- Loading branch information
1 parent
965de20
commit 0d9f31b
Showing
2 changed files
with
25 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters