branch management

This is just a minor annoyance bug report to do with branch management.

We have a fairly active repository and every few months I go in to clean up old/stale branches on I bring up the ‘All Branches’ link, and start clicking through the little trash can icons to delete old branches, then go to the next page, rinse and repeat. I realized just now that the next page offset is not correctly accounting for the removed branches so some branches are never being displayed using the ‘Next page’ button.

For example, let’s say you have 100 branches, the first page displays the first 25 and you delete 10 of them. When you click ‘Next’, the offset for the query should be 15 (25-10), not 25. If 25 is used as the offset, branches 26-35 will never be seen because they are now 16-25 since 10 branches were deleted.

Like I said – minor annoyance, but wanted to let you know.

1 Like