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

[ACA-3672] - added server order for document -list #5899

Merged
merged 4 commits into from
Jul 23, 2020

Conversation

VitoAlbano
Copy link
Contributor

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (check one with "x")

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation
  • Other... Please describe:

What is the current behaviour? (You can also link to an open issue here)
Document list apply only FE sorting

What is the new behaviour?
Document list apply FE or BE sorting

Does this PR introduce a breaking change? (check one with "x")

  • Yes
  • No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...

Other information:
https://issues.alfresco.com/jira/browse/ACA-3672

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Vito Albano seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@codecov-commenter
Copy link

codecov-commenter commented Jul 22, 2020

Codecov Report

Merging #5899 into develop will increase coverage by 0.28%.
The diff coverage is 80.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #5899      +/-   ##
===========================================
+ Coverage    76.24%   76.53%   +0.28%     
===========================================
  Files          839      830       -9     
  Lines        18632    18384     -248     
  Branches      3656     3590      -66     
===========================================
- Hits         14206    14070     -136     
+ Misses        3318     3218     -100     
+ Partials      1108     1096      -12     
Impacted Files Coverage Δ
lib/core/data-column/data-column.component.ts 100.00% <ø> (ø)
...ocument-list/components/document-list.component.ts 81.81% <60.00%> (-0.50%) ⬇️
...ib/document-list/services/document-list.service.ts 74.50% <100.00%> (-1.01%) ⬇️
...atable/components/datatable/datatable.component.ts 85.11% <100.00%> (ø)
lib/core/datatable/data/object-datacolumn.model.ts 100.00% <100.00%> (ø)
.../lib/task-list/components/attach-form.component.ts 43.58% <0.00%> (-7.70%) ⬇️
.../lib/document-list/data/share-datatable-adapter.ts 70.49% <0.00%> (-2.46%) ⬇️
...b/extensions/src/lib/services/extension.service.ts
...b/extensions/src/lib/evaluators/core.evaluators.ts
... and 7 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a5972e7...5cb64a8. Read the comment docs.

Copy link
Contributor

@eromano eromano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you also regenerate the doc with npm run docbuild?

}
}

private retrieveDocumentNode(nodeId: string, pagination: PaginationModel, includeFields: string[], where?: string): Observable<DocumentLoaderNode> {
private retrieveDocumentNode(nodeId: string, pagination: PaginationModel, includeFields: string[], where?: string, orderByValue?: string[]): Observable<DocumentLoaderNode> {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

orderByValue can we rename it to orderBy ?

@eromano eromano merged commit 30c5c58 into develop Jul 23, 2020
@eromano eromano deleted the dev-valbano-ACA-3672 branch July 23, 2020 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants