Comments (7)
Thanks for reporting. I think the issue is here: 6db4f52#r1383302271. We tried and by removing the .distinct
call the error disappear.
cc @softr8
This might be a good first contribution if anyone is interested.
from solidus.
Hi @kennyadsl @vokshirg, is this issue still open? To work on it
from solidus.
@FranciscoJBrito yes!
from solidus.
Temp Hotfix for anybody else
# app/overrides/hairdom/controllers/spree/admin/stock_items_controller/fix_search.rb
module Hairdom
module Spree
module Admin
module StockItemsController
module FixSearch
def variant_scope
scope = ::Spree::Variant
.accessible_by(current_ability)
.order(:sku)
.includes(
:images,
stock_items: :stock_location,
product: :variant_images,
option_values: :option_type
)
scope = scope.where(product: @product, is_master: !@product.has_variants?) if @product
scope = scope.by_stock_location(params[:stock_location_id]) if params[:stock_location_id].present?
scope
end
::Spree::Admin::StockItemsController.prepend self
end
end
end
end
end
from solidus.
Can I work on this? Thanks
from solidus.
@mehboobali98 you are welcome!
from solidus.
Hey folks, I opened #5660 to address this. I don't think it's complete yet, so I marked it as draft, but at the minimum it has a useful feature spec.
from solidus.
Related Issues (20)
- [Admin] Undefined destroy method call on non soft deletable Spree::Property
- Sandbox does not work in v4.3 and main HOT 7
- Scope Admin Orders to Store HOT 2
- [Admin] products/index/variants/index
- either width or height must be specified HOT 8
- [admin] Consider committing the built tailwind css file into the admin repo
- Backend: use of cdn causes remixicon.symbol.svg to not download due to its being an svg used with <use> tag
- SQL error while searching by variant name in stock management view HOT 3
- Cant install
- [Backend] Backordered items may become on hand when splitting shipment
- Nil variant shipping category not handled properly in form
- The action 'show' could not be found for Spree::Admin::PropertiesController
- Disaster Recovery Guidance
- Production Images Break
- [Admin][Settings][Shipments] Introduce shipping category creation and modification capability
- Read/write separation
- [Admin][UI][Bulk actions] Require confirmation before completing bulk deletes HOT 2
- undefined method `total_pages' for 30:Integer for zones in solidus 4.3.0
- [Admin] - 2nd Option Type is lost, can't add to existing product HOT 1
- Deprecation warnings don't raise when they should HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from solidus.