Fix SetExpr failed #9506

Merged
lunny merged 3 commits from lunny/fix_setexpr into master 2019-12-27 14:18:07 +00:00
Owner

Currently, xorm only support

SetExpr("is_draft", "true").
SetExpr("num_commits", "0").
SetExpr("sha1", "''")

but not

SetExpr("is_draft", true).
SetExpr("num_commits", 0).
SetExpr("sha1", "")
Currently, xorm only support ```go SetExpr("is_draft", "true"). SetExpr("num_commits", "0"). SetExpr("sha1", "''") ``` but not ```go SetExpr("is_draft", true). SetExpr("num_commits", 0). SetExpr("sha1", "") ```
zeripath approved these changes 2019-12-27 09:17:11 +00:00
lafriks (Migrated from github.com) approved these changes 2019-12-27 12:24:56 +00:00
This repo is archived. You cannot comment on pull requests.
No reviewers
No Milestone
No project
No Assignees
2 Participants
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: lunny/gitea#9506
No description provided.