UUDigitalHumanitieslab / EDPOP

A virtual research environment (VRE) that lets you collect, align and annotate bibliographical and biographical records from several online catalogs.
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

"field is not defined" error on catalogue search #191

Closed lukavdplas closed 1 month ago

lukavdplas commented 1 month ago

When I tried searching through a few catalogues, several did not display results.

For reference, here is a screenshot of search results from the HPB, which works fine:

screenshot of EDPOP, showing search results in HPB catalogue

In Gallica, the application seems to find results but can't render them.

screenshot of EDPOP, showing search results in Gallica catalogue. The display states "showing 50 of 157791 results" but no results are displayed

I saw this in a few other catalogues, all with the same error. Copied from the console:

Uncaught TypeError: field is undefined
    getMainDisplay record.model.js:20
    render record.list.item.view.js:28
    initialize record.list.item.view.js:23
    Backbone 3
    makeItem record.list.view.js:23
    Backbone 12
    jQuery 6
    Backbone 5
    query api.model.js:28
    submitSearch search.view.js:36
    firstSearch search.view.js:61
    jQuery 8
    Backbone 7
    initialize collection.search.view.js:16
    Backbone 3
    focus main.js:78
    Backbone 9
    browsingContext main.js:66
    Backbone 2
record.model.js:20:8
    getMainDisplay record.model.js:20
    render record.list.item.view.js:28
    initialize record.list.item.view.js:23
    Backbone 3
    makeItem record.list.view.js:23
    Backbone 12
    jQuery 6
    Backbone 5
    query api.model.js:28
    submitSearch search.view.js:36
    firstSearch search.view.js:61
    jQuery 8
    Backbone 7
    initialize collection.search.view.js:16
    Backbone 3
    focus main.js:78
    Backbone 9
    browsingContext main.js:66
    Backbone 2