Feature/dev 70 multiple entry authors#12380
Merged
brandonkelly merged 48 commits into5.0from Jan 2, 2024
Merged
Conversation
DEV-70 Multi-author entries
Sections or entry types should be able to choose the maximum number of authors that can be assigned to entries. I think we would still want to keep |
# Conflicts: # src/elements/Entry.php # src/web/assets/cp/dist/css/cp.css # src/web/assets/cp/dist/css/cp.css.map
# Conflicts: # src/elements/Entry.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
entries_authorstable.entries_authorstableInstallmigrationauthorIdremoved from entries tableEntry::getAuthor()behaves the same as in v4, but returns the one author with lowestsortOrderfor given entryEntry::getAuthors()returns all authors ordered bysortOrderauthorId,author(as before) and byauthorsIdsandauthors(new)authorId(e.g.->authorId(1)) will return all entries where at least one of the authors matches the provided IDauthorsIds(e.g.->authorsIds([1, 2])) will return all entries authored by exactly those 2 authors; (in other words, the parameters are joined byand)Related issues
DEV-70