Skip to content

Commit

Permalink
fix: add change_query_keys in Post model
Browse files Browse the repository at this point in the history
  • Loading branch information
stat-kwon committed Dec 26, 2023
1 parent f796fe2 commit f7862a1
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 f7862a1

Please sign in to comment.