Skip to content

Commit

Permalink
Merge pull request #261 from lat9/v158-sort-by-products-name
Browse files Browse the repository at this point in the history
#251: zc158, sort products' dropdown by name instead of model
  • Loading branch information
lat9 committed Jul 30, 2022
2 parents 8ed8444 + f0aa530 commit 07d6406
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion YOUR_ADMIN/image_handler.php
Expand Up @@ -209,7 +209,7 @@
// zc158 changes this function's name ...
//
if (function_exists('zen_draw_pulldown_products')) {
echo zen_draw_pulldown_products('products_filter', 'class="form-control" size="5"', '', true, $products_filter, true, true);
echo zen_draw_pulldown_products('products_filter', 'class="form-control" size="5"', '', true, $products_filter, true, true, 'products_name');
} else {
echo zen_draw_products_pull_down('products_filter', 'class="form-control" size="5"', '', true, $products_filter, true, true);
}
Expand Down
3 changes: 2 additions & 1 deletion docs/image_handler/readme.html
Expand Up @@ -67,7 +67,7 @@

<body>
<h1>Image Handler<sup>5</sup> for Zen Cart v1.5.7 (and later)</h1>
<h3>Version 5.3.0 by lat9, Zen4All, brittainmark and torvista</h3>
<h3>Version 5.3.0 by lat9, Zen4All, brittainmark, torvista and proseLA</h3>
<p>Current Support Thread at Zen Cart Forums: <a href="https://www.zen-cart.com/showthread.php?222983-Image-Handler-5-(for-v1-5-5)-Support-Thread" target="_blank">https://www.zen-cart.com/showthread.php?222983-Image-Handler-5-(for-v1-5-5)-Support-Thread</a></p>

<p><strong>Notes:</strong></p>
Expand Down Expand Up @@ -434,6 +434,7 @@ <h2>Un-Install Instructions</h2>
<li>BUGFIX: 'imagecolorallocatealpha' expects ints, but 'alphablend' returns floats; fatal PHP 8.1 error.</li>
<li>CHANGE: Updated to support zc157 and later as well as PHP 8.1.</li>
<li>BUGFIX: Properly handle corrupt image file.</li>
<li>BUGFIX: zc158 products' default sort is by products_model, use products_name instead.</li>
<li>The following files were changed or <span class="added">added</span>:<ol>
<li>/includes/auto_loaders/config.image_handler.php</li>
<li>/includes/classes/bmz_image_handler.class.php</li>
Expand Down

0 comments on commit 07d6406

Please sign in to comment.