Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Do not cache `customer_return` partial in the order view

Damian Kaczmarczyke876cb32c4b4
diff --git a/admin/app/views/spree/admin/orders/_customer_returns.html.erb b/admin/app/views/spree/admin/orders/_customer_returns.html.erb
index 2855e3ac15..88640b7058 100644
--- a/admin/app/views/spree/admin/orders/_customer_returns.html.erb
+++ b/admin/app/views/spree/admin/orders/_customer_returns.html.erb
@@ -17,8 +17,7 @@
</thead>
<tbody>
<%= render partial: "spree/admin/orders/customer_returns/customer_return",
- collection: @customer_returns,
- cached: spree_base_cache_scope %>
+ collection: @customer_returns %>
</tbody>
</table>
</div>