I'm starting using BibLatex/biber to process my bibliographic entries in Latex. Using the authoryear style as a start, I tweak in order to comply to editorial style of the journal I'll submit my paper to. One of the tweaks is to replace the default "and" by an ampersand (&) before the last author in the bibliography, using the following code:
% Add a comma and replace "and" with "&" before last coauthor
\renewcommand*{\finalnamedelim}{%
\ifnumgreater{\value{liststop}}{2}{\finalandcomma}{}%
\addcomma\addspace\&\space}
Unfortunately this code does also replace the "and" in citations, contrary to what the journal wants for citations.
My question is, how to replace "and" by "&" only in the bibliography? It seems like biblatex-dw has this option but my document doesn't compile with this style.