use correct table
This commit is contained in:
parent
e224ee7aab
commit
d2887a99b4
@ -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 {
|
||||||
|
Reference in New Issue
Block a user