fortedigital / fortedigital/Optimizely.ContentUsage

Extend sorting and integrate API sorting with frontend

Open
#35 2 comments 0 reactions 1 assignee Claimed by @Fifok View on GitHub
BE consideration FE question
Dominant language
C#
Stars
2
Forks
2
PR merge metrics
No merged PRs in 30d

Description

I saw that for Type column (potentially for all columns) sorting isn't working correctly.
If we sort by Type, displayed content types will contains only one "Block" content (for Foundation project of course).
![image](https://user-images.githubusercontent.com/31856712/222162603-c860b64a-0c2b-4874-8413-175c9d5810c4.png)
On page 6 (with 15 per page items count) we see much more than one "Block" content.
![image](https://user-images.githubusercontent.com/31856712/222162876-9471b9db-fb8c-43be-affc-5a1d1324ca03.png)

After syncing with @mgorzanski we saw that there is sorting on FE and on BE totally independent from each other.

Solution proposal:
Change FE sorting mechanism because we don't have pagination mechanism in ContentType/GetContentTypes endpoint (just sorting, which is not used).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.