Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • POD POD
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 57
    • Issues 57
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 10
    • Merge requests 10
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • MemriMemri
  • PODPOD
  • Merge requests
  • !335

bugfix: don't update dateServerModified with createedge

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Eelco van der Wel requested to merge eelco/bugfix-search-paginate-edges into dev Sep 06, 2022
  • Overview 0
  • Commits 2
  • Pipelines 2
  • Changes 1

Issue:

  • /search with limit and offset paginates using dateServerModified property
  • /create_edge (source, target, name) updates source.dateServerModified
  • causes issue: paginating using search with _sortOrder: Asc and adding an edge to the searched items during pagination will result in an infinite amount of pages, items that have edges added are continuously put back into the results

Comment: Bit hesitant to make this change, there might be some side effects in frontend or plugins. There's probably a better solution (like not paginating using dateServerModified), but takes longer to implement.

Edited Sep 13, 2022 by Eelco van der Wel
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: eelco/bugfix-search-paginate-edges