Skip to content
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

Make hard-coded topics for sort requests / field selection configurable #1361

Merged
merged 1 commit into from
Jun 12, 2018

Conversation

AFaust
Copy link
Contributor

@AFaust AFaust commented Feb 18, 2017

Resolves #1352

This PR addresses the points I reported in #1352. I have update all relevant references to topics.SORT_LIST to use an instance-configurable property instead which is by default initialised to the value of the topic constant, thus keeping backwards compatibility. In one instance I also corrected an incorrect use of the topics.UPDATE_LIST_SORT_FIELD constant when a relevant instance-level property already existed. For the SortOrderToggle module I had to move the onConfig/offConfig default override into a new postMixInProperties to deal with the configurable selectionTopic so users of this module are not forced to override/configure those two properties just because they configured a different selectionTopic.

@davidcognite
Copy link
Contributor

This looks good to me, a safe, backwards compatible improvement.

@davidcognite davidcognite merged commit bc9ca9b into Alfresco:develop Jun 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants