Skip to content
Snippets Groups Projects
Commit 4bece552 authored by Alex Petraky's avatar Alex Petraky :basketball_player_tone1: Committed by Pavel Antonov
Browse files

feat: Добавлено поле "state" в метод GetSystem

Close #PRXS-2830
parent 932eb6c5
No related branches found
No related tags found
No related merge requests found
...@@ -433,6 +433,9 @@ func (i *Item) GetSystem(field string) (any, error) { ...@@ -433,6 +433,9 @@ func (i *Item) GetSystem(field string) (any, error) {
return i.Template, nil return i.Template, nil
case "search_score": case "search_score":
return i.SearchScore, nil return i.SearchScore, nil
case "state":
return i.State, nil
} }
return nil, ErrNotSystemField return nil, ErrNotSystemField
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment