Skip to content

Handle limit offset and sorting in files search - #26198

Merged
MorrisJobke merged 10 commits into
masterfrom
unified-search-node
Mar 22, 2021
Merged

Handle limit offset and sorting in files search#26198
MorrisJobke merged 10 commits into
masterfrom
unified-search-node

Conversation

@icewind1991

@icewind1991icewind1991 commented Mar 18, 2021

Copy link
Copy Markdown
Member
  • Use Node search api directly from files' search provider, skipping a few deprecated layers
  • Unify handling of node search methods by transforming all search methods into "new" search queries
  • Handle limit, offset and order in node search api (in a somewhat suboptimal way)

Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
@icewind1991icewind1991 added the 2. developing Work in progress label Mar 18, 2021
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
@icewind1991icewind1991 changed the title [wip] search[wip] limit and offset in file searchMar 18, 2021
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
@icewind1991icewind1991 changed the title [wip] limit and offset in file searchHandle limit offset and sorting in files searchMar 19, 2021
@icewind1991icewind1991 added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Mar 19, 2021
@icewind1991icewind1991 added this to the Nextcloud 22 milestone Mar 19, 2021
@icewind1991
icewind1991 requested review from ChristophWurst, MorrisJobke, rullzer and skjnldsv and removed request for ChristophWurstMarch 19, 2021 15:26
@skjnldsv

Copy link
Copy Markdown
Member

Thanks for this @icewind1991 !

@MorrisJobkeMorrisJobke left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Tested and still works 👍

@MorrisJobke
MorrisJobke merged commit 1c074e7 into masterMar 22, 2021
@MorrisJobke
MorrisJobke deleted the unified-search-node branch March 22, 2021 20:48
@icewind1991

Copy link
Copy Markdown
MemberAuthor

/backport to stable21

@icewind1991

Copy link
Copy Markdown
MemberAuthor

/backport to stable20

@icewind1991

Copy link
Copy Markdown
MemberAuthor

/backport to stable19

@backportbot-nextcloud

Copy link
Copy Markdown

The backport to stable19 failed. Please do this backport manually.

icewind1991 added a commit that referenced this pull request Apr 1, 2021
Signed-off-by: Robin Appelman <robin@icewind.nl>
rullzer added a commit that referenced this pull request Apr 1, 2021
remove leftover debug @NoCSRFRequired introduced with #26198
backportbot-nextcloudBot pushed a commit that referenced this pull request Apr 1, 2021
Signed-off-by: Robin Appelman <robin@icewind.nl>
backportbot-nextcloudBot pushed a commit that referenced this pull request Apr 1, 2021
Signed-off-by: Robin Appelman <robin@icewind.nl>
MorrisJobke added a commit that referenced this pull request Apr 1, 2021
[stable21] remove leftover debug @NoCSRFRequired introduced with #26198
MorrisJobke added a commit that referenced this pull request Apr 1, 2021
[stable20] remove leftover debug @NoCSRFRequired introduced with #26198
This was referenced Apr 1, 2021
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsfeature: search

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@icewind1991@skjnldsv@MorrisJobke