Skip to content

Commit

Permalink
Update to Microsoft SQL 2014
Browse files Browse the repository at this point in the history
  • Loading branch information
diev committed Oct 29, 2017
1 parent 89e6931 commit 7990074
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PTK_PSD_Browser.hta
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
scroll="no"
contextMenu="no"
singleinstance="yes"
version="6.4.1"
version="6.4.2"
author="mozers™, mozers@mail.ru, icq#256106175 (retired)"
coauthor="Dmitrii Evdokimov, diev@mail.ru (active)"
/>
Expand Down Expand Up @@ -1838,7 +1838,7 @@ function CreateDBSelect() {
posttype = posttype == '*' ?
' IN ({0})'.format(available_forms) : "='{0}'".format(posttype);
var sql_string = 'SELECT * FROM elo_arh_post WHERE posttype{0} '.format(posttype) +
'and dt between ? and ? ORDER BY posttype, dt, filetype';
'and dt between convert(datetime,?,104) and convert(datetime,?,104) ORDER BY posttype, dt, filetype';

arrDB = [];
arrDB = QueryDatabase(sql_string,
Expand Down

0 comments on commit 7990074

Please sign in to comment.