crkn-rcdr / sapindale

Sapper/Svelte access platform administration interface
2 stars 2 forks source link

Bulk lookup of Slugs #115

Closed RussellMcOrmond closed 3 years ago

RussellMcOrmond commented 3 years ago

A new new /slug.json.js that accepts an array of slugs, and then returns an array of noids (or a hash of multiple {$slug: $noid })

This will allow us to look up many slugs at the same time.

For https://admin.canadiana.ca/archivalmanifest it would allow us to create a more optimised way to look up slugs when we do a bulk-select of a large number of ID's.