[ofbiz-framework] branch release17.12 updated: Fixed: Single product tile is displayed on one row in product search. (OFBIZ-12045) (#245)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ofbiz-framework] branch release17.12 updated: Fixed: Single product tile is displayed on one row in product search. (OFBIZ-12045) (#245)

jleroux@apache.org
This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch release17.12
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/release17.12 by this push:
     new 91de16a  Fixed: Single product tile is displayed on one row in product search. (OFBIZ-12045) (#245)
91de16a is described below

commit 91de16a55c1711c2dddd427c37a884afafc71ea9
Author: Saurabh Dixit <[hidden email]>
AuthorDate: Mon Nov 30 15:44:06 2020 +0530

    Fixed: Single product tile is displayed on one row in product search. (OFBIZ-12045) (#245)
   
    Cause: Wrong use of bootstrap grid classes.
    Fix: Used row class as a parent to col-* class while rendering the products.
---
 applications/order/template/entry/catalog/KeywordSearch.ftl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/applications/order/template/entry/catalog/KeywordSearch.ftl b/applications/order/template/entry/catalog/KeywordSearch.ftl
index d76d1cd..9ed2034 100644
--- a/applications/order/template/entry/catalog/KeywordSearch.ftl
+++ b/applications/order/template/entry/catalog/KeywordSearch.ftl
@@ -60,7 +60,7 @@ under the License.
     </#macro>
 
     <@paginationControls/>
-    <div class="productsummary-container">
+    <div class="productsummary-container row">
         <#list productIds as productId> <#-- note that there is no boundary range because that is being done before the list is put in the content -->
             ${setRequestAttribute("optProductId", productId)}
             ${setRequestAttribute("listIndex", productId_index)}