[Skip to main content](#vessel-content)

#   Bug génant

##

- **[jcfiguet](/forum/user/17329-jcfiguet "View jcfiguet's Profile")**
- [![jcfiguet's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/17329-jcfiguet "View jcfiguet's Profile") Topic Author
- [ Offline](/forum/user/17329-jcfiguet)

Less More

- Posts: 35
- Thank you received: 3
-
-

9 years 2 months ago -  9 years 2 months ago [\#276618](#276618) by [jcfiguet](/forum/user/17329-jcfiguet "View jcfiguet's Profile")  *[Bug génant](/forum/18-support-en-francais-de-hikaserial-french-support/891629-bug-genant#276618 "Bonjour,  Après un &quot;clic&quot; sur l'une des flèches pour modifier l'ordre....  On obtient ceci :  Bizarre...")* was created by *[jcfiguet](/forum/user/17329-jcfiguet "View jcfiguet's Profile")*

Bonjour,

Après un "clic" sur l'une des flèches pour modifier l'ordre....

[ ![bug3a.jpg](/forum/attachment/39900) ](/forum/attachment/39900 "bug3a.jpg")

On obtient ceci :

[ ![bug3b.jpg](/forum/attachment/39899) ](/forum/attachment/39899 "bug3b.jpg")

Bizarre...

- [ ![bug3b.jpg](/forum/attachment/39899) ](/forum/attachment/39899 "bug3b.jpg") [ ](/forum/attachment/39899?download=1 "bug3b.jpg")
- [ ![bug3a.jpg](/forum/attachment/39900) ](/forum/attachment/39900 "bug3a.jpg") [ ](/forum/attachment/39900?download=1 "bug3a.jpg")

Last edit: 9 years 2 months ago by [jcfiguet](/forum/user/17329-jcfiguet "View jcfiguet's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE4LXN1cHBvcnQtZW4tZnJhbmNhaXMtZGUtaGlrYXNlcmlhbC1mcmVuY2gtc3VwcG9ydC84OTE2MjktYnVnLWdlbmFudD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4077
-
- [](http://obsi.dev)
-

9 years 2 months ago [\#276639](#276639) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Bug génant](/forum/18-support-en-francais-de-hikaserial-french-support/891629-bug-genant#276639 "Bonjour,  Après un &quot;clic&quot; sur l'une des flèches pour modifier l'ordre....  On obtient ceci :  Bizarre...")*

Bonjour,

En effet, il manque l'authorization de "orderup" et "orderdown" alors que "saveorder" est lui, bien implémenté.
Pour changer l'ordre vous pouvez néanmoins utiliser les champs texte et le bouton "save" qui va se trouver dans la ligne de titre du tableau.

Vous pouvez aussi appliquer le patch qui sera dans la prochaine version d'HikaSerial.
Pour cela il faut modifier le fichier "administrator/components/com_hikaserial/controllers/plugins.php" et rempalcer Code:

'modify' =&gt; array('save','apply','saveorder'),

Par Code:

'modify' =&gt; array('save','apply','saveorder','orderdown','orderup'),

Et rajouter à la fin du fichier (avant la dernière accolade). Code:

public function orderdown() { $plugin_name = JRequest::getString('name', ''); $plugin_type = JRequest::getCmd('plugin_type', ''); if(empty($plugin_name) &#124;&#124; !in_array($plugin_type, array('generator','consumer','plugin'))) { return false; } $orderHelper = hikaserial::get('helper.order'); $orderHelper-&gt;pkey = $plugin_type.'_id'; $orderHelper-&gt;table = $plugin_type; $orderHelper-&gt;groupMap = $plugin_type.'_type'; $orderHelper-&gt;groupVal = $plugin_name; $orderHelper-&gt;orderingMap = $plugin_type.'_ordering'; $orderHelper-&gt;order(true); JRequest::setVar('subtask', ''); return $this-&gt;edit(); } public function orderup() { $plugin_name = JRequest::getString('name', ''); $plugin_type = JRequest::getCmd('plugin_type', ''); if(empty($plugin_name) &#124;&#124; !in_array($plugin_type, array('generator','consumer','plugin'))) { return false; } $orderHelper = hikaserial::get('helper.order'); $orderHelper-&gt;pkey = $plugin_type.'_id'; $orderHelper-&gt;table = $plugin_type; $orderHelper-&gt;groupMap = $plugin_type.'_type'; $orderHelper-&gt;groupVal = $plugin_name; $orderHelper-&gt;orderingMap = $plugin_type.'_ordering'; $orderHelper-&gt;order(false); JRequest::setVar('subtask', ''); return $this-&gt;edit(); }

Et cela devrait corriger le bug en question.

Cordialement,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [jcfiguet](/forum/user/17329-jcfiguet "View jcfiguet's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE4LXN1cHBvcnQtZW4tZnJhbmNhaXMtZGUtaGlrYXNlcmlhbC1mcmVuY2gtc3VwcG9ydC84OTE2MjktYnVnLWdlbmFudD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jcfiguet](/forum/user/17329-jcfiguet "View jcfiguet's Profile")**
- [![jcfiguet's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/17329-jcfiguet "View jcfiguet's Profile") Topic Author
- [ Offline](/forum/user/17329-jcfiguet)

Less More

- Posts: 35
- Thank you received: 3
-
-

9 years 2 months ago [\#276659](#276659) by [jcfiguet](/forum/user/17329-jcfiguet "View jcfiguet's Profile")  Replied by *[jcfiguet](/forum/user/17329-jcfiguet "View jcfiguet's Profile")* on topic *[Bug génant](/forum/18-support-en-francais-de-hikaserial-french-support/891629-bug-genant#276659 "Bonjour,  Après un &quot;clic&quot; sur l'une des flèches pour modifier l'ordre....  On obtient ceci :  Bizarre...")*

OK, merci je vais faire ça en attendant la prochaine release !

Cordialement,

JC Figuet

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE4LXN1cHBvcnQtZW4tZnJhbmNhaXMtZGUtaGlrYXNlcmlhbC1mcmVuY2gtc3VwcG9ydC84OTE2MjktYnVnLWdlbmFudD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.057 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
