--- android/TrainInfoService/src/dk/thoerup/traininfoservice/DumpResultSet.java 2009/10/01 08:21:09 377
+++ android/TrainInfoService/src/dk/thoerup/traininfoservice/DumpResultSet.java 2009/11/01 16:35:48 492
@@ -98,10 +98,12 @@
"FROM trainstations ORDER BY id");
} else if (dump.equals("disabled")) {
res = dumpResultset("SELECT * FROM trainstations WHERE enabled = false ORDER BY id");
+ } else if (dump.equals("noaddress")) {
+ res = dumpResultset("SELECT * FROM trainstations WHERE address IS NULL or address = '' ");
}
}
if (res == null) {
- res = "All
All with links
Missing coords
Duplicate stations
Disabled stations";
+ res = "All
All with links
Missing coords
Duplicate stations
Disabled stations
No address";
}
resp.setContentType("text/html");