{"action":"created","issue":{"url":"https://api.github.com/repos/arogachev/yii2-many-to-many/issues/2","labels_url":"https://api.github.com/repos/arogachev/yii2-many-to-many/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/arogachev/yii2-many-to-many/issues/2/comments","events_url":"https://api.github.com/repos/arogachev/yii2-many-to-many/issues/2/events","html_url":"https://github.com/arogachev/yii2-many-to-many/issues/2","id":83610176,"number":2,"title":"fillingRoute property question and working with more complex junction tables","user":{"login":"phdcoder","id":7103669,"avatar_url":"https://avatars.githubusercontent.com/u/7103669?v=3","gravatar_id":"","url":"https://api.github.com/users/phdcoder","html_url":"https://github.com/phdcoder","followers_url":"https://api.github.com/users/phdcoder/followers","following_url":"https://api.github.com/users/phdcoder/following{/other_user}","gists_url":"https://api.github.com/users/phdcoder/gists{/gist_id}","starred_url":"https://api.github.com/users/phdcoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phdcoder/subscriptions","organizations_url":"https://api.github.com/users/phdcoder/orgs","repos_url":"https://api.github.com/users/phdcoder/repos","events_url":"https://api.github.com/users/phdcoder/events{/privacy}","received_events_url":"https://api.github.com/users/phdcoder/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/arogachev/yii2-many-to-many/labels/duplicate","name":"duplicate","color":"cccccc"},{"url":"https://api.github.com/repos/arogachev/yii2-many-to-many/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":{"login":"arogachev","id":8326201,"avatar_url":"https://avatars.githubusercontent.com/u/8326201?v=3","gravatar_id":"","url":"https://api.github.com/users/arogachev","html_url":"https://github.com/arogachev","followers_url":"https://api.github.com/users/arogachev/followers","following_url":"https://api.github.com/users/arogachev/following{/other_user}","gists_url":"https://api.github.com/users/arogachev/gists{/gist_id}","starred_url":"https://api.github.com/users/arogachev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arogachev/subscriptions","organizations_url":"https://api.github.com/users/arogachev/orgs","repos_url":"https://api.github.com/users/arogachev/repos","events_url":"https://api.github.com/users/arogachev/events{/privacy}","received_events_url":"https://api.github.com/users/arogachev/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2015-06-01T17:18:53Z","updated_at":"2015-06-14T07:18:35Z","closed_at":"2015-06-02T03:45:47Z","body":"Thanks for the extension !! At first its working !!. But i have some questions. Its not clear how to use the fillingRoute property. I suppose that you need to put a route to an action that return the relational items that already belong to the master, so when you update the Master it already fills with the existent data. I made an action that return a list( id ) as an array , but it didn't work. \r\nThe other question is, how can i work with a junction table with more columns, i.e. an order junction table with quantities? \r\nSorry to post here. But i replied you topic on yii forum but got no return. "},"comment":{"url":"https://api.github.com/repos/arogachev/yii2-many-to-many/issues/comments/111794636","html_url":"https://github.com/arogachev/yii2-many-to-many/issues/2#issuecomment-111794636","issue_url":"https://api.github.com/repos/arogachev/yii2-many-to-many/issues/2","id":111794636,"user":{"login":"adiramardiani","id":8703419,"avatar_url":"https://avatars.githubusercontent.com/u/8703419?v=3","gravatar_id":"","url":"https://api.github.com/users/adiramardiani","html_url":"https://github.com/adiramardiani","followers_url":"https://api.github.com/users/adiramardiani/followers","following_url":"https://api.github.com/users/adiramardiani/following{/other_user}","gists_url":"https://api.github.com/users/adiramardiani/gists{/gist_id}","starred_url":"https://api.github.com/users/adiramardiani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adiramardiani/subscriptions","organizations_url":"https://api.github.com/users/adiramardiani/orgs","repos_url":"https://api.github.com/users/adiramardiani/repos","events_url":"https://api.github.com/users/adiramardiani/events{/privacy}","received_events_url":"https://api.github.com/users/adiramardiani/received_events","type":"User","site_admin":false},"created_at":"2015-06-14T07:18:35Z","updated_at":"2015-06-14T07:18:35Z","body":"sorry, I still do not understand what kind the method in that route\r\nit's like a standard method like that this :\r\n```php\r\npublic function actionUpdate($id){\r\n\t$model = $this->findModel($id);\r\n\t\r\n\tif ($model->load(Yii::$app->request->post()) && $model->save()) {\r\n\t\treturn $this->redirect(['view', 'id' => $model->id]);\r\n    } else {\r\n\t\treturn $this->render('update', ['model' => $model]);\r\n\t}\r\n}\r\n```\r\n?"}}