Showing actors without gender info in overview.

This commit is contained in:
ThePendulum 2020-02-14 02:30:43 +01:00
parent 6a0babe986
commit 872a529d3e
3 changed files with 14 additions and 5 deletions

View File

@ -195,7 +195,7 @@
<span v-else>Yes</span> <span v-else>Yes</span>
</li> </li>
<li class="bio-item scraped hideable">Updated on {{ formatDate(actor.scrapedAt, 'YYYY-MM-DD HH:mm') }}</li> <li class="bio-item scraped hideable">Updated {{ formatDate(actor.scrapedAt, 'YYYY-MM-DD HH:mm') }}, ID: {{ actor.id }}</li>
</ul> </ul>
<span <span

View File

@ -194,10 +194,19 @@ function initActorActions(store, _router) {
name: { name: {
startsWith: $letter startsWith: $letter
}, },
or: [
{
gender: { gender: {
in: $genders in: $genders
}, },
}, },
{
gender: {
isNull: true
},
}
]
},
) { ) {
id id
name name

View File

@ -483,7 +483,7 @@ exports.up = knex => Promise.resolve()
JOIN releases_tags ON (releases_tags.release_id = releases.id) JOIN releases_tags ON (releases_tags.release_id = releases.id)
JOIN tags ON (releases_tags.tag_id = tags.id) JOIN tags ON (releases_tags.tag_id = tags.id)
WHERE tags.slug = ANY($1); WHERE tags.slug = ANY($1);
$$ LANGUAGE sql STABLE $$ LANGUAGE sql STABLE;
*/ */
`)); `));