Fix batch URL paths when using local sites.

Review Request #13445 — Created Dec. 1, 2023 and submitted

Information

Review Board
release-6.x

Reviewers

The fix for including the SITE_ROOT for the batch URL didn't properly
include the local site (since RB.apiCall only uses the prefix
argument when url is undefined, in which case it assembles a URL
relative to the API root). This change fixes that up to properly include
it in the URL.

Was able to publish and use the batch operations on the dashboard from
within a local site.

Summary ID
Fix batch URL paths when using local sites.
The fix for including the SITE_ROOT for the batch URL didn't properly include the local site (since `RB.apiCall` only uses the `prefix` argument when `url` is undefined, in which case it assembles a URL relative to the API root). This change fixes that up to properly include it in the URL. Testing Done: Was able to publish and use the batch operations on the dashboard from within a local site.
74d382720f6aac8680d8ad4eb8c1fa3f429d98fa
maubin
  1. Ship It!
  2. 
      
david
Review request changed
Status:
Completed
Change Summary:
Pushed to release-6.x (5d4566a)