{"action":"created","issue":{"url":"https://api.github.com/repos/nextgis/android_gisapp/issues/570","repository_url":"https://api.github.com/repos/nextgis/android_gisapp","labels_url":"https://api.github.com/repos/nextgis/android_gisapp/issues/570/labels{/name}","comments_url":"https://api.github.com/repos/nextgis/android_gisapp/issues/570/comments","events_url":"https://api.github.com/repos/nextgis/android_gisapp/issues/570/events","html_url":"https://github.com/nextgis/android_gisapp/issues/570","id":234166297,"number":570,"title":"Incorrect sorting of the combobox values","user":{"login":"MikhanGusev","id":6196272,"avatar_url":"https://avatars0.githubusercontent.com/u/6196272?v=3","gravatar_id":"","url":"https://api.github.com/users/MikhanGusev","html_url":"https://github.com/MikhanGusev","followers_url":"https://api.github.com/users/MikhanGusev/followers","following_url":"https://api.github.com/users/MikhanGusev/following{/other_user}","gists_url":"https://api.github.com/users/MikhanGusev/gists{/gist_id}","starred_url":"https://api.github.com/users/MikhanGusev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikhanGusev/subscriptions","organizations_url":"https://api.github.com/users/MikhanGusev/orgs","repos_url":"https://api.github.com/users/MikhanGusev/repos","events_url":"https://api.github.com/users/MikhanGusev/events{/privacy}","received_events_url":"https://api.github.com/users/MikhanGusev/received_events","type":"User","site_admin":false},"labels":[{"id":160415616,"url":"https://api.github.com/repos/nextgis/android_gisapp/labels/bug","name":"bug","color":"fc2929","default":true},{"id":621686479,"url":"https://api.github.com/repos/nextgis/android_gisapp/labels/supported","name":"supported","color":"b60205","default":false}],"state":"open","locked":false,"assignee":{"login":"4eRTuk","id":4937430,"avatar_url":"https://avatars1.githubusercontent.com/u/4937430?v=3","gravatar_id":"","url":"https://api.github.com/users/4eRTuk","html_url":"https://github.com/4eRTuk","followers_url":"https://api.github.com/users/4eRTuk/followers","following_url":"https://api.github.com/users/4eRTuk/following{/other_user}","gists_url":"https://api.github.com/users/4eRTuk/gists{/gist_id}","starred_url":"https://api.github.com/users/4eRTuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/4eRTuk/subscriptions","organizations_url":"https://api.github.com/users/4eRTuk/orgs","repos_url":"https://api.github.com/users/4eRTuk/repos","events_url":"https://api.github.com/users/4eRTuk/events{/privacy}","received_events_url":"https://api.github.com/users/4eRTuk/received_events","type":"User","site_admin":false},"assignees":[{"login":"4eRTuk","id":4937430,"avatar_url":"https://avatars1.githubusercontent.com/u/4937430?v=3","gravatar_id":"","url":"https://api.github.com/users/4eRTuk","html_url":"https://github.com/4eRTuk","followers_url":"https://api.github.com/users/4eRTuk/followers","following_url":"https://api.github.com/users/4eRTuk/following{/other_user}","gists_url":"https://api.github.com/users/4eRTuk/gists{/gist_id}","starred_url":"https://api.github.com/users/4eRTuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/4eRTuk/subscriptions","organizations_url":"https://api.github.com/users/4eRTuk/orgs","repos_url":"https://api.github.com/users/4eRTuk/repos","events_url":"https://api.github.com/users/4eRTuk/events{/privacy}","received_events_url":"https://api.github.com/users/4eRTuk/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2017-06-07T10:39:39Z","updated_at":"2017-06-14T14:43:19Z","closed_at":null,"body":"Original message:\r\n\r\n> I loaded a list of alphabetically sorted values from a .csv file using form builder.\r\nWhen I actually use the combobox to add a featured vector in mobile app, the values listed are not sorted anymore. This is a big issue for me, I make you an example. This is a garden. I need to write the right botanical name of the tree. I see in front of me the plant I see that it is a \"Prunus\" species but I don't remember how to spell the complete name. So I would like to scroll down to the \"P\" and see \"Prunus Avium, Prunus Cerasus, Prunus Persica, etc...\" or even better to start typing \"Prun\" and see the same sorted list of Prunus species. Is there a way to load the values preserving the sorting?\r\n\r\nBut for me all works correctly. I load the following .csv via Formbuilder (not sorted, but in the specific order), save to ngfp and after sending all items displayed in the same order on a mobile device. It also works if I change inner and outer value in this .csv.\r\n\r\n\"id\";\"transport\"\r\n11;\"Трамвай\"\r\n12;\"Троллейбус\"\r\n13;\"Автобус городской\"\r\n16;\"Автобус пригородный\"\r\n17;\"Такси\"\r\n18;\"Пригородный поезд\"\r\n19;\"Метрополитен\"\r\n\r\nThe proposal is to implement the real sorting on the Formbuilder side and to retain the order of elements on the mobile side (if this is an actual bug)."},"comment":{"url":"https://api.github.com/repos/nextgis/android_gisapp/issues/comments/308453567","html_url":"https://github.com/nextgis/android_gisapp/issues/570#issuecomment-308453567","issue_url":"https://api.github.com/repos/nextgis/android_gisapp/issues/570","id":308453567,"user":{"login":"plinioconti","id":29262826,"avatar_url":"https://avatars3.githubusercontent.com/u/29262826?v=3","gravatar_id":"","url":"https://api.github.com/users/plinioconti","html_url":"https://github.com/plinioconti","followers_url":"https://api.github.com/users/plinioconti/followers","following_url":"https://api.github.com/users/plinioconti/following{/other_user}","gists_url":"https://api.github.com/users/plinioconti/gists{/gist_id}","starred_url":"https://api.github.com/users/plinioconti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plinioconti/subscriptions","organizations_url":"https://api.github.com/users/plinioconti/orgs","repos_url":"https://api.github.com/users/plinioconti/repos","events_url":"https://api.github.com/users/plinioconti/events{/privacy}","received_events_url":"https://api.github.com/users/plinioconti/received_events","type":"User","site_admin":false},"created_at":"2017-06-14T14:43:19Z","updated_at":"2017-06-14T14:43:19Z","body":"Correct! it looks The list order is messed up by the mobile app not by the form builder.\r\n\r\n\r\nIt would be great if you can fix this... In my list a have plant botanix names. Often they are quite long names, for example: \r\n\r\n1 Prunus domestica Damaschina estiva\r\n2 Prunus domestica San Giovanni\r\n3 Prunus domestica Coscia di monaca\r\n4...\r\n\r\nActually when I start typing \"Prun\" the mobile app show me only one of the Prunus and the following item in the displayed list start with other letters, so operator may think that is the only prunus in the list ( this actually happened).\r\n\r\n"}}
{"actor":{"display_login":"plinioconti"}}