/home/clients/b313813ae3dfa81e21eb5a95d7ad323f/sites/agha.fr/squelettes/pmb/opac_css/classes/authorities/page/authority_page.class.php:227
select distinct uni.typdoc, sum(nbexplnum) as nbexplnum from (select distinct notices.typdoc, count(explnum_id) as nbexplnum from notices JOIN responsability ON notice_id=responsability_notice left join explnum on explnum_mimetype in () and explnum_notice = notice_id ,notice_statut where responsability_author in ('725' ) and statut=id_notice_statut and ((notice_visible_opac=1 and notice_visible_opac_abon=0)) group by notices.typdoc union select distinct notices.typdoc, count(explnum_id) as nbexplnum from notices JOIN responsability ON notice_id=responsability_notice left join bulletins on bulletins.num_notice = notice_id and bulletins.num_notice != 0 left join explnum on explnum_mimetype in () and explnum_bulletin != 0 and explnum_bulletin = bulletin_id ,notice_statut where responsability_author in ('725' ) and statut=id_notice_statut and ((notice_visible_opac=1 and notice_visible_opac_abon=0)) group by notices.typdoc) as uni group by uni.typdoc