Here is the existing document code:
\documentclass[12pt, final, a4paper]{article}
\usepackage[backend=biber,style=authoryear-icomp,sorting=nyt,isbn=false,doi=true,dashed=false,maxbibnames=99,uniquename=init,giveninits]{biblatex}
\addbibresource{referenser.bib}
\DeclareLabeltitle{%
\field{titleaddon}
\field{shorttitle}
\field{title}
\field{maintitle}
}
\begin{document}
Here is one sentence.\parencite{Knuth:ct-a}
Here is another sentence.\parencite{noauthor_solcell_2020}
\printbibliography
\end{document}
And the .bib file:
@Book{Knuth:ct-a,
author = "Donald E. Knuth",
title = "The {\TeX}book",
publisher = "Addison-Wesley",
year = "1986",
volume = "A",
series = "Computers and Typesetting",
pages = "ix + 483",
}
@online{noauthor_solcell_2020,
titleaddon = {Nationalencyklopedin},
title = {solcell},
url = {https://www.ne.se/uppslagsverk/encyklopedi/l%C3%A5ng/solcell},
urldate = {2020-04-13},
date = {2020}
}
As of now it prints out:
How do I make it print out Nationalencyklopedin in the reference list instead of the title solcell when there are no authors?
I used the \DeclareLabletitle to make Nationalencyklopedin print instead of the title in the text. Is there some similar way to change the reference list as well?
As I do not fully understand what is happening in the code above could you show where it is safe to put these changes in my code for it to work?

