/[H9]/trunk/tntnet/dynamic/customerlist.ecpp
ViewVC logotype

Diff of /trunk/tntnet/dynamic/customerlist.ecpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 103 by torben, Tue Nov 27 22:25:36 2007 UTC revision 104 by torben, Thu Nov 29 17:06:38 2007 UTC
# Line 13  Line 13 
13  dburl;  dburl;
14  </%config>  </%config>
15    
16  <&header title="Critical systems">  <&header title="Customers and installations">
17  </&header>  </&header>
18    
19  <h2>Customers and installations</h2>  <h2>Customers and installations</h2>
# Line 50  if (res.size() != 0) Line 50  if (res.size() != 0)
50                  std::stringstream sqlstream;                  std::stringstream sqlstream;
51                  sqlstream << "SELECT id, description FROM installation ";                  sqlstream << "SELECT id, description FROM installation ";
52                  sqlstream << "WHERE customerid = " << customerid;                  sqlstream << "WHERE customerid = " << customerid;
53                    sqlstream << " ORDER BY description ASC";
54    
55                  tntdb::Result instres = conn.select(sqlstream.str());                  tntdb::Result instres = conn.select(sqlstream.str());
56    

Legend:
Removed from v.103  
changed lines
  Added in v.104

  ViewVC Help
Powered by ViewVC 1.1.20