Skip to content

Commit c631943

Browse files
bpamiriclaude
andcommitted
fix: Uppercase CNT alias to match Lucee query row key lookup
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent b9ac123 commit c631943

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/web/BlogController.cfc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ component extends="app.Controllers.Controller" {
3030
statuses = blogStatuses();
3131

3232
var statusCountsQuery = model("Blog").findAll(
33-
select = "statusId, COUNT(*) as cnt",
33+
select = "statusId, COUNT(*) as CNT",
3434
where = "createdBy = #userId# AND blog_posts.statusId <> #statuses.TRASH#",
3535
group = "statusId"
3636
);

0 commit comments

Comments
 (0)