Issue when viewing recipients of a newsletter when filtered on not opened

More
8 months 5 days ago #1 by Craig
In the backend admin when viewing a list of newsletters if you
  1. click the recipients button to see recipients and the viewing status of a selected newsletter
  2. and then you filtered on opened=No

the subsequent display shows recipients for all newsletters where the opened status is no.

I would like to offer the following code fix which resolves this in file  ~administrator/components/com_nspro/models/recipients.php  line 182.

Change from:
Code:
$query->where("(b.`openings` = 0) OR (b.`openings` IS NULL)");

to:
Code:
$query->where("((b.`openings` = 0) OR (b.`openings` IS NULL))");

Using 
NSPro 3/3/3044
Joomla 5.3.3
PHP 8.3.24
The following user(s) said Thank You: Chris

Please Log in or Create an account to join the conversation.

  • Christopher Mavros
  • Christopher Mavros's Avatar
  • Offline
  • Administrator
  • Administrator
More
7 months 3 weeks ago #2 by Christopher Mavros
Hello Craig and thank you for posting!

This fix has now been included in NS Pro.

It will be available in the next release.
Thanks for bringing this up!

Christopher Mavros
me@mavxr.com
If you like our extensions, please rate us on the JED!

Please Log in or Create an account to join the conversation.

Moderators: Christopher Mavros