Biblioteca digital
user warning: Not unique table/alias: 'na'
query: SELECT DISTINCT(n.nid), bt.name as biblio_type_name, bcd.lastname FROM node n left join biblio b on n.vid=b.vid inner join biblio_types bt on b.biblio_type=bt.tid INNER JOIN biblio_contributor as bc on b.vid = bc.vid JOIN biblio_contributor_data as bcd on bc.cid = bcd.cid INNER JOIN node_access na ON na.nid = n.nid INNER JOIN node_access na ON na.nid = n.nid WHERE (na.grant_view >= 1 AND ((na.gid = 0 AND na.realm = 'all') OR (na.gid = 1 AND na.realm = 'term_access'))) AND (n.language ='es') AND ( (na.grant_view >= 1 AND ((na.gid = 0 AND na.realm = 'all') OR (na.gid = 1 AND na.realm = 'term_access'))) AND (n.language ='es') AND ( (bc.rank=0) AND (n.type='biblio' ) AND (n.status = 1 ) ))ORDER BY bcd.lastname LIMIT 10 in /home/redmeda/public_html/sites/all/modules/biblio/biblio.module on line 1711.
M