sort annotations
This commit is contained in:
parent
9e00dd09e3
commit
c69ca372ee
2 changed files with 31 additions and 0 deletions
|
|
@ -129,6 +129,7 @@ async function loadData(id, args) {
|
|||
<span class="icon">${icon.down}</span>
|
||||
${layerData.title}
|
||||
</h3>`)
|
||||
data.layers[layer] = sortBy(data.layers[layer], ["+in", "+created"])
|
||||
data.layers[layer].forEach(annotation => {
|
||||
if (pandora.url) {
|
||||
annotation.value = annotation.value.replace(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue