current page lost when deleting a branch from branch list #10410

Closed
opened 2025-11-02 09:06:43 -06:00 by GiteaMirror · 5 comments
Owner

Originally created by @opengerp on GitHub (Mar 10, 2023).

Description

current page lost when deleting a branch from branch list

Gitea Version

1.17.3 built with GNU Make 4.1, go1.18.7 : bindata, sqlite, sqlite_unlock_notify

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

On Rocky Linux Server

Database

MySQL

Originally created by @opengerp on GitHub (Mar 10, 2023). ### Description current page lost when deleting a branch from branch list ### Gitea Version 1.17.3 built with GNU Make 4.1, go1.18.7 : bindata, sqlite, sqlite_unlock_notify ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? On Rocky Linux Server ### Database MySQL
GiteaMirror added the issue/confirmedtype/bug labels 2025-11-02 09:06:43 -06:00
Author
Owner

@yardenshoham commented on GitHub (Mar 10, 2023):

Please elaborate

@yardenshoham commented on GitHub (Mar 10, 2023): Please elaborate
Author
Owner

@opengerp commented on GitHub (Mar 10, 2023):

  1. i click on Code
  2. i click on Branches
  3. i click on page 2 of branches list
  4. i click on basket to delete a merged branch
  5. i confirm
  6. branch i deleted but i am back on page 1

this is annoying because i must change page each time to remove old branches
thank you!

@opengerp commented on GitHub (Mar 10, 2023): 1. i click on Code 2. i click on Branches 3. i click on page 2 of branches list 4. i click on basket to delete a merged branch 5. i confirm 6. branch i deleted but i am back on page 1 this is annoying because i must change page each time to remove old branches thank you!
Author
Owner

@yardenshoham commented on GitHub (Mar 10, 2023):

Maybe you could automate what you are trying to do with a script that calls the API. The web UI isn't very suited for your use-case

@yardenshoham commented on GitHub (Mar 10, 2023): Maybe you could automate what you are trying to do with a script that calls the API. The web UI isn't very suited for your use-case
Author
Owner

@wxiaoguang commented on GitHub (Mar 11, 2023):

Yup, some workarounds like API-call or git-client-deletion also work.

If you want to delete branches via UI ... indeed it's a UI bug, maybe it's not too difficult to fix but it needs some time for it 😂

@wxiaoguang commented on GitHub (Mar 11, 2023): Yup, some workarounds like API-call or git-client-deletion also work. If you want to delete branches via UI ... indeed it's a UI bug, maybe it's not too difficult to fix but it needs some time for it 😂
Author
Owner

@wxiaoguang commented on GitHub (Mar 11, 2023):

See: Make branches lit page operations remember current page #23420

@wxiaoguang commented on GitHub (Mar 11, 2023): See: Make branches lit page operations remember current page #23420
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#10410