{"action":"closed","issue":{"url":"https://api.github.com/repos/romannep/nskate/issues/134","repository_url":"https://api.github.com/repos/romannep/nskate","labels_url":"https://api.github.com/repos/romannep/nskate/issues/134/labels{/name}","comments_url":"https://api.github.com/repos/romannep/nskate/issues/134/comments","events_url":"https://api.github.com/repos/romannep/nskate/issues/134/events","html_url":"https://github.com/romannep/nskate/issues/134","id":128374119,"number":134,"title":"Выбор сущности в ссылочном реквизите","user":{"login":"romannep","id":5181340,"avatar_url":"https://avatars2.githubusercontent.com/u/5181340?v=4","gravatar_id":"","url":"https://api.github.com/users/romannep","html_url":"https://github.com/romannep","followers_url":"https://api.github.com/users/romannep/followers","following_url":"https://api.github.com/users/romannep/following{/other_user}","gists_url":"https://api.github.com/users/romannep/gists{/gist_id}","starred_url":"https://api.github.com/users/romannep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romannep/subscriptions","organizations_url":"https://api.github.com/users/romannep/orgs","repos_url":"https://api.github.com/users/romannep/repos","events_url":"https://api.github.com/users/romannep/events{/privacy}","received_events_url":"https://api.github.com/users/romannep/received_events","type":"User","site_admin":false},"labels":[{"id":194581070,"url":"https://api.github.com/repos/romannep/nskate/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/romannep/nskate/milestones/3","html_url":"https://github.com/romannep/nskate/milestone/3","labels_url":"https://api.github.com/repos/romannep/nskate/milestones/3/labels","id":1321471,"number":3,"title":"NSMaster 0.1","description":"Создание и редактирование сущностей, запуск и остановка приложений, переход с консольной разработки кейт и тимера на мастер разработку.","creator":{"login":"romannep","id":5181340,"avatar_url":"https://avatars2.githubusercontent.com/u/5181340?v=4","gravatar_id":"","url":"https://api.github.com/users/romannep","html_url":"https://github.com/romannep","followers_url":"https://api.github.com/users/romannep/followers","following_url":"https://api.github.com/users/romannep/following{/other_user}","gists_url":"https://api.github.com/users/romannep/gists{/gist_id}","starred_url":"https://api.github.com/users/romannep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romannep/subscriptions","organizations_url":"https://api.github.com/users/romannep/orgs","repos_url":"https://api.github.com/users/romannep/repos","events_url":"https://api.github.com/users/romannep/events{/privacy}","received_events_url":"https://api.github.com/users/romannep/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":37,"state":"open","created_at":"2015-09-24T03:41:01Z","updated_at":"2018-04-01T18:08:41Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-01-24T05:29:26Z","updated_at":"2018-04-01T18:08:41Z","closed_at":"2018-04-01T18:08:41Z","author_association":"OWNER","body":"При редактировании сущности при задании поля ссылки нужно указать сущность. Сейчас это поле текстовое - т.е. надо прописывать руками. Хотя логично чтоб выбор типа ссылки был из списка - это надо доделать.\n\nСделаем так: в описании элемента Ссылка в списке реквизитов выбираем тип реквизита entity - Ссылка (будет ссылка сама на себя).\n\nВ форме редактирования параметров реквизита - там где они динамически дорисовываются - дописываем: если нужно добавить реквизит типа Ссылка, то добавляем так:\n-на форму добавляем ссылку с типом Описание Сущности (т.е. выбор будет из сущносттей) с именем _select_FieldName , и делаем функцию выбора значения, где будет FieldName = value.name.\nВ нашем случае - FieldName будет entitty. На форме добавиться элемент  _select_entity, при выборе значения в котором в поле entity будет прописываться имя сущности.\n"}}
{"actor":{"display_login":"romannep"}}