bfabiszewski / ulogger-server

μlogger • web viewer for tracks uploaded with μlogger mobile client
GNU General Public License v3.0
522 stars 85 forks source link

ol_layers not saved, priority ignored #132

Closed woffs closed 4 years ago

woffs commented 4 years ago

Thank you for this great software.

After changing to the sqlite-based config in v1 always the layer with the largest id (Osmapa.pl) is the default. Selecting an other layer in the user web interface works. Saving another default via web preference interface does not work, the priority in the sqlite table is not changed. If I set the priority by hand in the sqlite table, it is displayed in the web preferences interface, but ignored for selecting the displayed layer.

System is Debian Stretch, php7.0. File tree is at git HEAD.

bfabiszewski commented 4 years ago

Thanks for reporting! I checked and there is an issue while storing layers with sqlite engine.

woffs commented 4 years ago

Now it works. Thank you a lot! :+1:

bfabiszewski commented 4 years ago

Thanks for feedback!