Keep Playable Fortnite Outfits Separate From LEGO Variants in Search

A search result can show an outfit and a related variant with similar names. If the presentation flattens both records into one card, a player may infer that the visual style or mode availability is interchangeable. The catalog should preserve the relationship without erasing the distinction.

Store the relationship separately from the record

Keep each variant's source identifier and applicable mode. If the provider supplies a parent reference, record it as a relationship. Use labels like “LEGO variant” when supported by the data. A text search can find both records, but a mode-specific filter should include only records that explicitly match that mode.

Write the search expectations before testing

Build a fixture with an outfit, its linked variant, and a similarly named unrelated item. Check that a broad name search shows the appropriate entries. Apply the mode filter and assert the expected IDs. Click the related-variant link from the outfit page and verify that it opens the right variant. Remove the parent reference in a second fixture and ensure the interface does not invent a relationship from names alone.

The SkinRotation cosmetic catalog is a practical place to explore how a cosmetic catalog separates different types of entries.