Merge pull request #303 from richard67/master-fix-applied-filter-sql-query

Fix SQL error missing column "pulls.applied" breaking the "Applied" filter
This commit is contained in:
Roland Dalmulder 2020-10-15 20:38:16 +02:00 committed by GitHub
commit e231f1bcf8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -273,7 +273,7 @@ class PullsModel extends AbstractModel
// Not applied patches have a NULL value, so build our value part of the query based on this
$value = $applied === 'no' ? ' IS NULL' : ' = 1';
$query->where($db->quoteName('pulls.applied') . $value);
$query->where($db->quoteName('applied') . $value);
}
// Filter for branch