hbz / lobid

Linking Open Bibliographic Data
https://lobid.org/
Eclipse Public License 2.0
15 stars 4 forks source link

Use "jsonId" instead of "id" (#501) #503

Closed dr0i closed 9 months ago

dr0i commented 10 months ago

The "id" is used internally by gatsby and is not the value of the json field "id" but rather an internally generated id. So the value of your json's "id" is stored in "jsonId". Use this field to access the json's "id".

See https://www.gatsbyjs.com/plugins/gatsby-transformer-json/#id-and-jsonid-key.

Resolves #501.

Phu2 commented 9 months ago

Looks good on http://stage.lobid.org/team/

fsteeg commented 9 months ago

The publications under the team members are missing on stage.

dr0i commented 9 months ago

The publications under the team members are missing on stage.

Yes, interesting... they were wrong before (https://github.com/hbz/lobid/issues/498). Now they are missing completely. Also "products" and "projects".

dr0i commented 9 months ago

@Phu2 can you have a look and fix these?

Phu2 commented 9 months ago

I'll try...

Phu2 commented 9 months ago

Actually, @sroertgen fixed this. Thank You!