PARINetwork/pari

Translator credit has disappeared. Translator slug remains empty

Aperta

#298 aperta il 29 gen 2018

 (1 commento) (0 reazioni) (0 assegnatari)Python (10 fork)auto 404
Medium PrioritySmall WorkTech Storybugdesigngood first issuehelp wanted

Metriche repository

Star
 (39 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

If you run this query, it gives info on whole host of translator content

select author_author.slug, count (article_id) 
from article_article_translators, article_article, author_author
where article_id=page_ptr_id and
author_author.id = article_article_translators.author_id
group by author_author.slug order by count desc;

or

select * from article_article_translators, article_article, author_author
where article_id=page_ptr_id and
author_author.id = article_article_translators.author_id and
name = 'Rashmi Rekha  Das'

It returns all the articles written by Rashmi Rekha Das

But say if you go to any of these article e.g. https://ruralindiaonline.org/articles/চৰাঞ্চলবাসীৰ-সংগ্ৰাম

which was translated by Rashmi Rekha Das, her name does not appear under the Author credit (below the article) as Translator credit.

Also as an author her slugh "rashmirekha-das" should yield an author's page https://ruralindiaonline.org/authors/rashmirekha-das

The author's page works but it does not have any articles.

Guida contributor