Archived
1
0

use correct table

This commit is contained in:
Jeff Becker
2017-09-23 09:33:42 -04:00
parent e224ee7aab
commit d2887a99b4

View File

@@ -1921,7 +1921,7 @@ func (self *PostgresDatabase) GetNewsgroupList() (list NewsgroupList, err error)
func (self *PostgresDatabase) FindCitesInText(text string) (msgids []string, err error) {
hashes := findBacklinks(text)
if len(hashes) > 0 {
q := "SELECT message_id FROM ArticlePosts WHERE message_id_hash IN ( "
q := "SELECT message_id FROM Articles WHERE message_id_hash IN ( "
var params []string
var qparams []interface{}
for idx := range hashes {