Git Product home page Git Product logo

volto-searchkit-block's People

Contributors

dependabot[bot] avatar ksuess avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

volto-searchkit-block's Issues

indexed plone6/volto objects have no @id property, cannot be displayed as search results

Hello there,

I would like to use this add-on with volto/plone6 objects.
Maybe there was something wrong with my mappings.json file, but my indexed volto objects (with collective.elastic.ingest and collective.elastic.plone) have no @id property.
That's why I receive a "cannot receive properties of undefined"-error in the flattenESUrlToPath function --> src/components/helpers.jsx#L18

I used following workaround for this problem to display the search results in the TestSearchkitQuerystrings view:

src/components/Views/TestSearchkitQuerystrings.jsx#L86
<Link to={flattenESUrlToPath(result['@components']['navigation']['@id'])} target="_blank">

src/components/helpers.jsx#L21
for (let i = 4; i < (pathArray.length-1); i++) {

here I posted my mappings.json in an collective.elastic.ingest issue:
collective/collective.elastic.ingest#17

As I said, I'm not really sure if this issue could be already resolved by changing the mappings.json file.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.