Skip to content

Commit

Permalink
Merge pull request #11 from stat-kwon/master
Browse files Browse the repository at this point in the history
fix: add change_query_keys in Post model
  • Loading branch information
stat-kwon authored Dec 26, 2023
2 parents f094b6f + f7862a1 commit ae07a83
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/spaceone/board/model/post_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ class Post(MongoModel):
"domain_id",
],
"ordering": ["-created_at"],
"change_query_keys": {
"is_pinned": "options.is_pinned",
"is_popup": "options.is_popup"
},
"indexes": [
"board_type",
"category",
Expand Down

0 comments on commit ae07a83

Please sign in to comment.