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
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

View File

@ -1921,7 +1921,7 @@ func (self *PostgresDatabase) GetNewsgroupList() (list NewsgroupList, err error)
func (self *PostgresDatabase) FindCitesInText(text string) (msgids []string, err error) { func (self *PostgresDatabase) FindCitesInText(text string) (msgids []string, err error) {
hashes := findBacklinks(text) hashes := findBacklinks(text)
if len(hashes) > 0 { 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 params []string
var qparams []interface{} var qparams []interface{}
for idx := range hashes { for idx := range hashes {