Puzzlepart / prosjektportalen

Prosjektportal for SharePoint er et prosjektstyringsverktøy for SharePoint basert på prosjektveiviseren
Other
30 stars 15 forks source link

Portfolio - search and grouping does not work together #691

Open tarjeieo opened 5 years ago

tarjeieo commented 5 years ago

Thank you for reporting an issue. We appreciate your feedback - to help the team understand your needs please complete the below template to ensure we have the details to help. Thanks!

Environment

[X] SharePoint Online

[ ] SharePoint 2013

[ ] SharePoint 2016

Browser

[X] Chrome

[ ] Internet Explorer

[ ] Edge

[ ] Safari

[ ] Other

Version

Please specify what version you are using: [ 2.5.14]

Summary

If you group and search at the same time, the projects are seemingly scrambled random.

It doesn't matter if you search first or group first.

Remi749 commented 4 years ago

@olemp how do you recommend going about this issue? A new function or can we refresh the grouping whenever a new characters is inputted into the searchfield?

olemp commented 4 years ago

Probably the grouping doesn't recalculate after the search text changes @Remi749? Shouldn't be a need for a new function.

Remi749 commented 4 years ago

@olemp that is correct, is there functionality for recalculating this? If so, what?

olemp commented 4 years ago

Check getFilteredData: https://github.com/Puzzlepart/prosjektportalen/blob/master/src/js/WebParts/DynamicPortfolio/index.tsx#L411