Skip to content

Commit 4fb4093

Browse files
authored
Merge pull request #991 from sumitwebkul/gli-1755
Fixed:Need to arrange the options in correct order at order list page in mobile view.
2 parents 6c8490f + bd3d709 commit 4fb4093

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

admin/themes/default/template/helpers/list/list_header.tpl

+3-2
Original file line numberDiff line numberDiff line change
@@ -553,10 +553,11 @@
553553
<style>
554554
@media (max-width: 992px) {
555555
{foreach from=$fields_display item=param name=params}
556-
{if isset($params.displayed) && $params.displayed === false}{continue}{/if}
557-
.table-responsive-row td:nth-of-type({math equation="x+y" x=$smarty.foreach.params.index y=$y}):before {
556+
{if isset($param.displayed) && $param.displayed === false}{continue}{/if}
557+
.table-responsive-row td:nth-of-type({$y}):before {
558558
content: "{$param.title}";
559559
}
560+
{assign var=y value=$y+1}
560561
{/foreach}
561562
}
562563
</style>

0 commit comments

Comments
 (0)