Skip to content

Commit dc8292d

Browse files
committed
Add search-card lens definition for ImageObject
In order to inherit from ImageObject-cards rather than MediaObject search-card. This is a quick fix to make it work with the current inheritance logic for picking lenses in XL search API. The proper solution would probably be to refine that logic.
1 parent 7d6dc9d commit dc8292d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

source/vocab/display.jsonld

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1499,6 +1499,10 @@
14991499
"MediaObject": {
15001500
"fresnel:extends": {"@id": "MediaObject-cards"},
15011501
"showProperties": [ "fresnel:super", "marc:publicNote" ]
1502+
},
1503+
"ImageObject": {
1504+
"fresnel:extends": {"@id": "ImageObject-cards"},
1505+
"showProperties": [ "fresnel:super" ]
15021506
}
15031507
}
15041508
},

0 commit comments

Comments
 (0)