mirror of
https://github.com/standardebooks/web.git
synced 2025-07-23 07:44:49 -04:00
Fix new patron count in donation progress bar
This commit is contained in:
parent
ec4826bb41
commit
ee18651732
1 changed files with 4 additions and 4 deletions
|
@ -35,9 +35,9 @@ class DonationDrive{
|
|||
UserId is null
|
||||
and
|
||||
(
|
||||
(IsRecurring = true and Amount >= 10 and Created >= ?)
|
||||
or
|
||||
(IsRecurring = false and Amount >= 100 and Created >= ?)
|
||||
#(IsRecurring = true and Amount >= ? and Created >= ?)
|
||||
#or
|
||||
(IsRecurring = false and Amount >= ? and Created >= ?)
|
||||
)
|
||||
)
|
||||
union all
|
||||
|
@ -47,7 +47,7 @@ class DonationDrive{
|
|||
where Created >= ?
|
||||
)
|
||||
) x
|
||||
', [$this->Start, $this->Start, $this->Start]);
|
||||
', [PATRONS_CIRCLE_YEARLY_COST, $this->Start, $this->Start]);
|
||||
}
|
||||
|
||||
protected function GetTargetDonationCount(): int{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue