Closed jimsafley closed 1 year ago
I'm not getting anything. After the third character is typed, my cursor changes to a spinning wheel for a second (and for every character after), but nothing is being suggested.
Is there an error in your JS console? Are you sure there's an already existing Publisher value that begins with "pai"?
Yep. "edinburgh" and "paisley" should get it going for publishers, "bunyan" for creator.
All I've got is "wrong event specified: touchleave DomEvent.Pointer.js:36:10" for errors.
What data type of the three are you using for that property?
I set all of them to "Omeka property" for the widest range. I have done some template and class labelling of my items but I haven't used those data types yet.
Hrm, it's working now! And it's positively beautiful.
I did go and turn off a bunch of other modules as part of the troubleshooting, not clear if that was part of it or if it just needed time to index behind the scenes?
It is strange. The only reason it should behave that way is if you're logged in as an author and the source item is set to private. Otherwise, I'm at a loss. There's no indexing. Try activating modules one at a time to see if one breaks this feature.
All modules are active and everything seems to be fine.
The omeka-suggesters branch adds three data types that suggest values that already exist in the working Omeka installation:
To test this, it's best to have a lot of richly described items. You could use the Omeka S Item Importer module to import from any number of Omeka S installations. When editing a resource template, add each new data type to properties that are often used to categorically describe resources, such as
dcterms:type
ordcterms:subject
. Then, add an item, select the resource template you edited, and start typing values that you know exist for that property/template/class combination. It should work for both Text and URI types. It should respect the current language.