implemented "targetRelationCount" and exposed more of them in order by widget, fixes #1658

This commit is contained in:
zadam
2021-02-19 20:42:34 +01:00
parent 2cfd093cae
commit 4160da70be
5 changed files with 49 additions and 0 deletions

View File

@@ -16,6 +16,11 @@ const TPL = `
<option value="contentSize">Note content size</option>
<option value="noteSize">Note content size including revisions</option>
<option value="revisionCount">Number of revisions</option>
<option value="childrenCount">Number of children notes</option>
<option value="parentCount">Number of clones</option>
<option value="ownedLabelCount">Number of labels</option>
<option value="ownedRelationCount">Number of relations</option>
<option value="targetRelationCount">Number of relations targeting the note</option>
</select>
<select name="orderDirection" class="form-control w-auto d-inline">