Jump to content

Edit History

ps8modules

ps8modules

Hi.

./src/PrestaShopBundle/Controller/Admin/CommonController.php

OLD:

$limitChoices = $request->attributes->get('limit_choices', [10, 20, 50, 100]);

NEW:

$limitChoices = $request->attributes->get('limit_choices', [10, 20, 50, 100, 300, 500, 1000]);

 

ps8modules

ps8modules

Hi.

./src/PrestaShopBundle/Controller/Admin/CommonController.php

OLD:

$limitChoices = $request->attributes->get('limit_choices', [10, 20, 50, 100]);

NEW:

$limitChoices = $request->attributes->get('limit_choices', [10, 20, 50, 100, 300, 500, 1000]);

 

OR ./src/PrestaShopBundle/Resources/views/Admin/Common/pagination.html.twig

OLD:

{% for limit_choice in limit_choices %}
	<option value="{{ limit_choice }}" {% if limit==limit_choice %}selected="selected"{% endif %}>{{ limit_choice }}</option>
{% endfor %}

NEW

{% for limit_choice in limit_choices %}
	<option value="{{ limit_choice }}" {% if limit==limit_choice %}selected="selected"{% endif %}>{{ limit_choice }}</option>
{% endfor %}
<option value="300" {% if limit==limit_choice %}selected="selected"{% endif %}>300</option>
<option value="500" {% if limit==limit_choice %}selected="selected"{% endif %}>500</option>
<option value="1000" {% if limit==limit_choice %}selected="selected"{% endif %}>1000</option>

 

ps8modules

ps8modules

Hi.

./src/PrestaShopBundle/Controller/Admin/CommonController.php

OLD:

$limitChoices = $request->attributes->get('limit_choices', [10, 20, 50, 100]);

NEW:

$limitChoices = $request->attributes->get('limit_choices', [10, 20, 50, 100, 300, 500, 1000]);

 

×
×
  • Create New...