fix: Newsletter contains trashed threads
This commit is contained in:
parent
40d1751913
commit
eaf73a976e
3 changed files with 4 additions and 2 deletions
|
|
@ -18,6 +18,7 @@
|
|||
- fix: Extra <a> tags inserted when viewing only Wiki page
|
||||
- fix: incorrect links generated for Event related links
|
||||
- fix: Sort Collaboration System threads correctly by rating
|
||||
- fix: Newsletter contains trashed threads (Yung Han Khoe, United Knowledge)
|
||||
|
||||
7.4.6
|
||||
- Prevent Help index from trying to link to non-existant documentation
|
||||
|
|
|
|||
|
|
@ -50,6 +50,7 @@ Contributing Developers..............Lucas Bartholemy
|
|||
Matt Wilson / Plain Black
|
||||
Zhou Xiaopeng / WebGUI Worldwide
|
||||
Gerald Young
|
||||
Yung Han Khoe
|
||||
|
||||
|
||||
The following are people/companies who didn't directly contribute
|
||||
|
|
|
|||
|
|
@ -106,8 +106,8 @@ sub execute {
|
|||
$eh->info("Searching for threads that match $subscription");
|
||||
my $matchingThreads = $db->read("select metaData_values.assetId from metaData_values
|
||||
left join asset using (assetId) where fieldId=? and value like ? and creationDate > ?
|
||||
and className like ? and lineage like ?",
|
||||
[$fieldId, '%'.$value.'%', $lastTimeSent, 'WebGUI::Asset::Post::Thread%', $newsletter->get("lineage").'%']);
|
||||
and className like ? and lineage like ? and state = ?",
|
||||
[$fieldId, '%'.$value.'%', $lastTimeSent, 'WebGUI::Asset::Post::Thread%', $newsletter->get("lineage").'%', 'published']);
|
||||
while (my ($threadId) = $matchingThreads->array) {
|
||||
my $thread = WebGUI::Asset->new($self->session, $threadId);
|
||||
if (defined $thread) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue