This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class CustomSearch < Spree::Core::Search::Base | |
| protected | |
| def add_search_scopes(base_scope) | |
| statement = nil | |
| search.each do |property_name, property_values| | |
| property = Spree::Property.find_by_name(property_name.gsub("_any", "")) | |
| next unless property | |
| substatement = product_property[:property_id].eq(property.id).and(product_property[:value].eq(property_values.first)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| This is soultion how to fix no splash screen in Ubuntu after nvidia proprietary driver installation. It's no matter what Ubuntu version you use, it should work anyway. | |
| Open your terminal and type | |
| sudo apt-get install v86d | |
| Then | |
| sudo gedit /etc/default/grub | |
| Find this line |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo sed -i 's/es.archive.ubuntu.com/archive.ubuntu.com/' /etc/apt/sources.list |