PARINetwork/pari

Translator credit has disappeared. Translator slug remains empty

Open

#298 opened on Jan 29, 2018

 (1 comment) (0 reactions) (0 assignees)Python (10 forks)auto 404
Medium PrioritySmall WorkTech Storybugdesigngood first issuehelp wanted

Repository metrics

Stars
 (39 stars)
PR merge metrics
 (PR metrics pending)

Description

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.

Contributor guide