sorter and search fixes:
- sorter: ensure sort settings are remembered - sorter: remoe default attrs, just bind to 'sortKey' and 'sortDesc' to set the defaults - pages: override sort order by best match when doing a text search, back to by date when showing page list - page entries: fix date sorting, normalize page.timestamp and page.date on all page results - url resources: fix 'contains' search, add highlighting to search results - ensure textIndex cache is deleted when collection is removed - bump electron to 10.1.3 - bump version to 1.1.1
This commit is contained in:
+2
-1
@@ -268,7 +268,8 @@ class CollIndex extends LitElement
|
||||
<span class="icon is-left is-small"><fa-icon .svg="${fasSearch}"/></span>
|
||||
</div>
|
||||
<wr-sorter id="index"
|
||||
defaultKey="title"
|
||||
sortKey="ctime"
|
||||
?sortDesc="${true}"
|
||||
.sortKeys="${CollIndex.sortKeys}"
|
||||
.data="${this.filteredColls}"
|
||||
@sort-changed="${(e) => this.sortedColls = e.detail.sortedData}">
|
||||
|
||||
Reference in New Issue
Block a user