FlatTurtle / InfoScreen

FlatTurtle InfoScreen repository v1 (deprecated)
http://flatturtle.com
4 stars 3 forks source link

Turtle order #11

Closed Tuinslak closed 12 years ago

Tuinslak commented 12 years ago

Add a parameter to change Turtle order (e.g. first nmbs, then Airport, then route, ...)

Now it's based on ID.

jenssegers commented 12 years ago

I have added an 'order' column. Default value is -1, in this case the id is used instead of -1 when sorting.

If you want to upgrade your database:

ALTER TABLE `turtles` ADD `order` INT( 2 ) NOT NULL DEFAULT '-1' AFTER `colspan`
pietercolpaert commented 12 years ago

Nicely done Jens!

Tuinslak commented 12 years ago

this is done.