# Hyperref to the correct entry when using multiple bibliographies

This is a follow-up question to this issue with several bibliographies and backref. I want to generate two bibliographies, a short one in the beginning and a full one in the end. All entries appear in the full bib, and some entries appear in both. Based on the helpful answers there, the code looks as follows:

\documentclass{report}
\usepackage{hyperref}
\usepackage[backref=true, hyperref=true, backend=biber]{biblatex}
\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@misc{A01, author = {Author, A.}, year = {2001}, title = {Alpha Title}, keywords = {self}}
@misc{B02, author = {Author, B.}, year = {2002}, title = {Beta Title}, keywords = {other}}
\end{filecontents}

\begin{document}
\begingroup\renewbibmacro{pageref}{}
\endgroup

\chapter{First}
Some text \cite{A01, B02}.

\end{document}


When using hyperref, clicking on the B02 link leads to the references in the back. The problem however is that the other A01 link goes to the front bibliography, which is not consistent and it is not possible to go back to the text page using a backref.

I'm looking for a way to flush the hyperlink targets after the first bibliography so that all links go the full bibliography only, without breaking the rest of hyperref.

If you only include certain references in the first bibliography, it may not be a good idea to include the numbering [1], [2], ...

In that case you could get away with replacing \printbibliography[heading=bibintoc, keyword=self, title={Previous Work}] with:

\printbibheading[heading=bibintoc,title={Previous Work}]
\fullcite{A01}.


This would avoid your hyperref problem.

Alternatively, here is a version in which hyperref is temporarily disabled for the first bibliography.

\documentclass{report}
\usepackage{hyperref}
\usepackage[backref=true, hyperref=true, backend=biber]{biblatex}
\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@misc{A01, author = {Author, A.}, year = {2001}, title = {Alpha Title}, keywords = {self}}
@misc{B02, author = {Author, B.}, year = {2002}, title = {Beta Title}, keywords = {other}}
\end{filecontents}

\begin{document}
\begingroup\renewbibmacro{pageref}{}
\makeatletter
\let\blx@anchor\relax
\makeatother