Hi @dericleeyy , absolutely. I created a local-hoste website from scratch to ensure it is not conflicting with other customization while replicating. Sorry if I use incorrect terminology or overlook something.
When I visit the output of the [jobs]
shortcode, clicking the search submit button triggers the following events on each click:
- A request to
/jm-ajax/get_listings/
is fired.
- This also triggers a request to
/wp-content/plugins/wp-job-manager/assets/dist/images/ajax-loader.ea183bf2.gif
.
- All job listings are re-populated.
These events occur under the following scenarios:
- Clicking the search submit button.
- Reloading the page.
- Navigating away and returning to the page.
- Using any of the filters.
The Issue:
However, when I navigate in this specific way:
1. [jobs] (https://getlistingsdebug.local/jobs/) → 2. A single job listing (https://getlistingsdebug.local/job/test-test-2-test/) → 3. [jobs] (https://getlistingsdebug.local/jobs/) including navigating through any other pages in between 2. and 3. steps:
The events described above do not fire as they normally would when reloading the page or arriving from any other page. Specifically:
- The search submit button does not trigger the events and does nothing.
- The events only begin firing after a filter is changed or the page is reloaded, or I navigate back and forth one more time using browser navigation.
- Once the events are triggered (e.g., by changing a filter), the search submit button starts working as expected again.
Thanks!