Skip to content

unexpected behavior between subdivision repo getList() and getAll() #223

@ryssbowh

Description

@ryssbowh

Hi there,

Working on a website (on CraftCMS) that handles states in the UK.

I've noticed that the subdivision repository getAll(['GB']) method returns an empty array where the getList(['GB']) return an array of 213 items.

I can't see anything fundamentally different between those 2 methods so wondering if this is a bug, or could you explain the difference between the two ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions