Changeset 79 for trunk/Pages/UPlansPage.pas
- Timestamp:
- Jun 19, 2012, 10:39:41 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Pages/UPlansPage.pas
r78 r79 45 45 Text := '<br/><strong>Plánované úkoly:</strong><br />' + 46 46 '<div><ul>'; 47 Database.Query(DbRows, 'SELECT * FROM `Plans` WHERE `TimeFinished` IS NULLORDER BY `TimeCreate`');47 Database.Query(DbRows, 'SELECT * FROM `Plans` WHERE (`TimeFinished` IS NULL) AND (`Public`=1) ORDER BY `TimeCreate`'); 48 48 for I := 0 to DbRows.Count - 1 do begin 49 49 Text := Text + '<li>' + DbRows[I].Values['Description'] + '</li>'; … … 53 53 Text := Text + '<br/><strong>Hotové úkoly:</strong><br />' + 54 54 '<div><ul>'; 55 Database.Query(DbRows, 'SELECT * FROM `Plans` WHERE `TimeFinished` IS NOT NULLORDER BY `TimeCreate`');55 Database.Query(DbRows, 'SELECT * FROM `Plans` WHERE (`TimeFinished` IS NOT NULL) AND (`Public`=1) ORDER BY `TimeCreate`'); 56 56 for I := 0 to DbRows.Count - 1 do begin 57 57 Text := Text + '<li>' + DbRows[I].Values['Description'] + '<br/>' +
Note:
See TracChangeset
for help on using the changeset viewer.