[Koha-bugs] [Bug 24152] Add the ability to purge pseudonymized data

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jul 2 09:51:01 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24152

--- Comment #26 from Marcel de Rooy <m.de.rooy at 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.


More information about the Koha-bugs mailing list