This commit is contained in:
Shubham Mehrotra 2020-06-24 15:17:04 +05:30
parent 53d22c56ae
commit 0868599679
4 changed files with 4 additions and 67 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,5 +1,5 @@
{
"/js/velocity.js": "/js/velocity.js?id=ac80a6434bb67471e57f",
"/css/velocity-admin.css": "/css/velocity-admin.css?id=612d35e452446366eef7",
"/css/velocity.css": "/css/velocity.css?id=8470a3676dbe91d0fae1"
"/css/velocity.css": "/css/velocity.css?id=9910b405e16e5582cf35"
}

View File

@ -106,7 +106,7 @@ class ProductRepository extends Repository
public function searchProductsFromCategory($params)
{
$term = $params['term'] ?? '';
$categoryId = $params['category'];
$categoryId = $params['category'] ?? '';
$results = app(ProductFlatRepository::class)->scopeQuery(function($query) use($term, $categoryId, $params) {
$channel = request()->get('channel') ?: (core()->getCurrentChannelCode() ?: core()->getDefaultChannelCode());

View File

@ -2278,73 +2278,10 @@
@extend .remove-padding-margin;
}
.bottom-toolbar {
.pagination {
width: 100%;
display: block;
.pagination {
.page-item {
padding: 0 10px;
&.active {
font-weight: 600;
color: $theme-color !important;
border-bottom: 2px solid $theme-color;
}
&.next,
&.previous {
.angle-right-icon,
.angle-left-icon {
@extend .rango-default;
margin: 0;
font-size: 24px;
background: unset;
text-align: center;
}
}
&.next {
.angle-right-icon::before {
content: "\E908";
}
}
&.previous {
.angle-left-icon::before {
content: "\E907";
}
}
}
a {
color: unset !important;
text-decoration: none !important;
i {
top: 2px;
font-size: 18px;
position: relative;
}
}
.angle-left-icon,
.angle-right-icon {
@include rango-default;
background: unset;
}
.angle-right-icon::before {
content: "\E908";
}
.angle-left-icon::before {
content: "\E907";
}
}
}
.pagination {
.page-item {
padding: 0 10px;