https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24152 --- Comment #26 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- (In reply to Marcel de Rooy from comment #25)
(In reply to Jonathan Druart from comment #23)
Well no, it was not the follow-up :)
- ( $pPseudoTransactions ? ( days => $pPseudoTransactions ) : () ), - ( $pPseudoTransactionsFrom ? ( from => $pPseudoTransactionsFrom ) : () ), - ( $pPseudoTransactionsTo ? ( to => $pPseudoTransactionsTo ) : () ), + ( defined $pPseudoTransactions ? ( days => $pPseudoTransactions ) : () ), + ( $pPseudoTransactionsFrom ? ( from => $pPseudoTransactionsFrom ) : () ), + ( $pPseudoTransactionsTo ? ( to => $pPseudoTransactionsTo ) : () ),
Well I did not test, but the change with defined explains it for me.
Hmm. I tried it now but filter_last_update works with < and truncates to days. So what actually happens, is that I am purging records before today. Which is a bit counterintuitive. -- You are receiving this mail because: You are watching all bug changes.