On Tue, Dec 13, 2022 at 3:52 AM Ihor Radchenko <yantar92@posteo.net> wrote:
Kaushal Modi <kaushal.modi@gmail.com> writes:

> Since Org 9.6, I am seeing that the numbering of tables (and other elements
> like figures) resets to 1 and stays so, thought I cannot see a pattern of
> why that happens.
>
> Org version: Org mode version 9.6 (release_9.6-40-g49cf3e ..)
>
> Here's a small reproducible example that shows the problem in any exporter
> (ox-ascii, ox-html, ..)
> ...

Thanks for reporting!
Fixed on bugfix. With a test now.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=bdb4c4c66
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=02909fe37


Thank you!

I confirm the fix. Also thanks for adding the test.