-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added filter for author/creator #46
Conversation
@wachterjohannes In my opinion this would be nice a feature und should be included at least in version 1.0 |
i would say we do it as soon as possible eventually for 0.3.0? what do you think? |
@@ -351,4 +351,40 @@ public function getLocalizationState(); | |||
* @return $this | |||
*/ | |||
public function setLocalizationState(LocalizationStateViewObject $localizationState); | |||
|
|||
/** | |||
* @param string $authorId |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add descriptions to this function like the others in this class.
} | ||
}); | ||
|
||
listToolbarTemplate.push({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not retrieving this button also from buttons.get
?
contactIdFilter: {
options: {
icon: 'filter',
title: this.translations.filterAll,
group: 2,
...
}
}
switch(item.id) { | ||
case 'me': | ||
contactId = this.sandbox.sulu.user.id; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no new line
break; | ||
default: | ||
contactId = null; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no new line
@@ -118,6 +118,18 @@ | |||
<source>sulu_article.smart-content.author-full-name</source> | |||
<target>Author (alphabetic)</target> | |||
</trans-unit> | |||
<trans-unit id="list-filter-01" resname="sulu_article.list.filter.by"> | |||
<source>sulu_article.list.filter.by</source> | |||
<target>Only from...</target> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could this be removed?
What's in this PR?
New feature for article list view: Added filter for author/creator.
To Do