ispras / lingvodoc-react

Apache License 2.0
7 stars 11 forks source link

Bulk delete empty lexical entries in a perspective #1149

Closed myrix closed 2 hours ago

myrix commented 3 hours ago

Dictionary https://lingvodoc.ispras.ru/dictionary/8799/1/perspective/8799/2/edit has thousands of spurious empty lexical entries, the result of an inaccuracy in CSV import, see #1148.

We need to more or less easily delete all empty entries in a perspective to fix such cases.

Probably should extend existing bulk_delete_lexicalentry() mutation in some way.

myrix commented 2 hours ago

Implemented deletion of empty entries of perspective with bulk_delete_lexicalentry(perspective_id: ..., empty: true) mutation.