--- trunk/tntnet/dynamic/installationdetails.ecpp 2007/12/02 16:56:14 122 +++ trunk/tntnet/dynamic/installationdetails.ecpp 2007/12/08 16:47:03 195 @@ -32,7 +32,7 @@ <{ tntdb::Connection conn; -conn = tntdb::connect(dburl); +conn = tntdb::connectCached(dburl); std::stringstream query; query << "SELECT c.name, c.address AS caddress, i.description, i.address AS iadress, i.furnacetype, i.updaterate, i.commerror "; @@ -74,7 +74,7 @@ Comm. status: - " alt="Status Indicator"> + " alt="Status Indicator"> @@ -88,14 +88,14 @@ query << "SELECT messagenr, date_trunc('second', logtime) AS logtime, temperature, flamedetector, solidfuelempty, conveyorerror,powerfailure "; query << "FROM logtable "; query << "WHERE installationnr = " << id; - query << "ORDER BY messagenr DESC"; + query << "ORDER BY messagenr DESC, logtime DESC "; res = conn.select(query.str()); out << "\n"; out << "\n"; - for (int i=0; i
 Message#  Logtime  Temperature  Flamedetector  Solidfuel empty  Conveyor error  Power failure