Skip to content

Content link field => multiple values #262

@Barcsix

Description

@Barcsix

Hello,

It seems like allowing multiple values on a "Content link" field does not react properly : if there's a pagination and we select multiple items from different pages, only the items selected on the current page will get linked.
As a workaround, I changed the params of the dialog so it will display every items in one page :

/modules/Content/assets/dialogs/select-content-item.js

 data() {
        return {
            items: [],
            loading: true,
            fieldTypes: null,
            sort: (this.model.meta && this.model.meta.sort) || {
                _created: -1
            },
            fltr: '',
            txtFilter: '',
            selected: [],
            page: 1,
            pages: 1,
            limit: 100, //was previsouly set to 10
            count: 0,
        }
    },

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions