Skip to content

Commit

Permalink
Advanced search #188: Automatically jump to post.
Browse files Browse the repository at this point in the history
  • Loading branch information
lincanbin committed Jun 15, 2016
1 parent 1bb743f commit 785f000
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions search.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
p.`UserID`,
p.`UserName`,
p.`Content`,
p.`ID` AS pID,
p.`ID` AS PostID,
p.`PostTime` AS LastTime
FROM ' . PREFIX . 'topics t, ' . PREFIX . 'posts p
WHERE t.ID=p.TopicID and p.ID in (?) and t.IsDel=0
Expand Down Expand Up @@ -137,7 +137,7 @@
p.`UserID`,
p.`UserName`,
p.`Content`,
p.`ID` AS pID,
p.`ID` AS PostID,
p.`PostTime` AS LastTime
FROM ' . PREFIX . 'posts p
LEFT JOIN ' . PREFIX . 'topics t
Expand Down

0 comments on commit 785f000

Please sign in to comment.