thegetty / arches-urldatatype

The URL Datatype for Arches, organized into an Arches package for ease of addition.
GNU Affero General Public License v3.0
0 stars 0 forks source link

Datatype doesn't seem to have search component #5

Open azaroth42 opened 3 years ago

azaroth42 commented 3 years ago

Found in demo with Provenance department:

The datatype (at least in current form) does not seem to have a search component that lets it participate in advanced search. Instead it just renders an empty card: Screen Shot 2020-08-12 at 3 31 50 PM

And throws the following exception:

Uncaught Error: Unable to process binding "foreach: function(){return card.nodes }"
Message: Unable to process binding "component: function(){return {
                        name:self.datatypelookup[datatype].configname,params:{
                            search:true,filterValue:$parent.value[nodeid],node:$data,datatype:self.datatypelookup[datatype]}} }"
Message: No component name specified
    at a.o.l (knockout-latest.js?_dc=5.0:95)
    at Function.xd (knockout-latest.js?_dc=5.0:55)
    at Function.yd (knockout-latest.js?_dc=5.0:55)
    at Function.ha (knockout-latest.js?_dc=5.0:54)
    at Object.a.o.a.$ (knockout-latest.js?_dc=5.0:52)
    at init (knockout-latest.js?_dc=5.0:95)
    at knockout-latest.js?_dc=5.0:79
    at Object.K (knockout-latest.js?_dc=5.0:41)
    at knockout-latest.js?_dc=5.0:79
    at Object.C (knockout-latest.js?_dc=5.0:11)

Without a search component it will be hard to find records that (for example) have particular concept identifiers (for vocabulary data) or references to external documents (for PIR).

@technelily @benosteen

benosteen commented 3 years ago

If there is some documentation or example for what one of these things looks like, then this can be remedied.