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

#   Recherche User sur un Custom Field

##

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

Less More

- Posts: 26
- Thank you received: 1
-
-

2 years 11 months ago -  2 years 9 months ago [\#356429](#356429) by [lapinrouge](/forum/user/11909-lapinrouge "View lapinrouge's Profile")  *[Recherche User sur un Custom Field](/forum/5-support-en-francais-french-support-/907235-recherche-user-sur-un-custom-field#356429 "-- url of the page with the problem -- : /administrator/index.php?option=com&#95;hikashop&amp;ctrl=user&amp;filter&#95;partner=0 -- HikaShop version -- : 4.7.5 -- Joomla version -- : 4.3.4 -- PHP version -- : 8.2 -- Browser(s) name and version -- : Chrome  Bonjour, Sur le listing user de hikashop, je voudrais faire en sorte que la barre de recherche puisse chercher également sur certains custom field. Comment puis-je m'y prendre ? Bien cordialement")* was created by *[lapinrouge](/forum/user/11909-lapinrouge "View lapinrouge's Profile")*

-- url of the page with the problem -- : /administrator/index.php?option=com_hikashop&amp;ctrl=user&amp;filter_partner=0
-- HikaShop version -- : 4.7.5
-- Joomla version -- : 4.3.4
-- PHP version -- : 8.2
-- Browser(s) name and version -- : Chrome

Bonjour,
Sur le listing user de hikashop, je voudrais faire en sorte que la barre de recherche puisse chercher également sur certains custom field. Comment puis-je m'y prendre ?
Bien cordialement

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vOTA3MjM1LXJlY2hlcmNoZS11c2VyLXN1ci11bi1jdXN0b20tZmllbGQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[Philip](/forum/user/34318-philip "View Philip's Profile")**
- [![Philip's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar34318_2015-11-18-2.png)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 654
-
-

2 years 11 months ago -  2 years 11 months ago [\#356433](#356433) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Recherche User sur un Custom Field](/forum/5-support-en-francais-french-support-/907235-recherche-user-sur-un-custom-field#356433 "-- url of the page with the problem -- : /administrator/index.php?option=com&#95;hikashop&amp;ctrl=user&amp;filter&#95;partner=0 -- HikaShop version -- : 4.7.5 -- Joomla version -- : 4.3.4 -- PHP version -- : 8.2 -- Browser(s) name and version -- : Chrome  Bonjour, Sur le listing user de hikashop, je voudrais faire en sorte que la barre de recherche puisse chercher également sur certains custom field. Comment puis-je m'y prendre ? Bien cordialement")*

Bonjour,

Pouvez vous nous fournir les paramètres de votre user custom field (via une screenshot) pour que nous puissions mieux comprendre le contexte?
Je précise mon idée, j'ai pu configurer un **user custom field ET** en utilisant la barre de recherche par la **valeur** définit dans le custom field (relatif de l'utilisateur) filtrer les utilisateurs correspondants dans mon listing backend.

Cordialement

Last edit: 2 years 11 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vOTA3MjM1LXJlY2hlcmNoZS11c2VyLXN1ci11bi1jdXN0b20tZmllbGQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 26
- Thank you received: 1
-
-

2 years 11 months ago [\#356525](#356525) by [lapinrouge](/forum/user/11909-lapinrouge "View lapinrouge's Profile")  Replied by *[lapinrouge](/forum/user/11909-lapinrouge "View lapinrouge's Profile")* on topic *[Recherche User sur un Custom Field](/forum/5-support-en-francais-french-support-/907235-recherche-user-sur-un-custom-field#356525 "-- url of the page with the problem -- : /administrator/index.php?option=com&#95;hikashop&amp;ctrl=user&amp;filter&#95;partner=0 -- HikaShop version -- : 4.7.5 -- Joomla version -- : 4.3.4 -- PHP version -- : 8.2 -- Browser(s) name and version -- : Chrome  Bonjour, Sur le listing user de hikashop, je voudrais faire en sorte que la barre de recherche puisse chercher également sur certains custom field. Comment puis-je m'y prendre ? Bien cordialement")*

Bonjour,
Nous avons ajouté un champs société sur notre user et nous aimerions pouvoir rechercher dessus dans la vue listing commande et listing user  [ ![Capturedcran2023-11-09113316.png](/forum/attachment/58149) ](/forum/attachment/58149 "...1-09113316.png")

- [ ![Capturedcran2023-11-09113316.png](/forum/attachment/58149) ](/forum/attachment/58149 "...1-09113316.png") [ ](/forum/attachment/58149?download=1 "...1-09113316.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vOTA3MjM1LXJlY2hlcmNoZS11c2VyLXN1ci11bi1jdXN0b20tZmllbGQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86323
- Thank you received: 14283
-
-

2 years 11 months ago [\#356531](#356531) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Recherche User sur un Custom Field](/forum/5-support-en-francais-french-support-/907235-recherche-user-sur-un-custom-field#356531 "-- url of the page with the problem -- : /administrator/index.php?option=com&#95;hikashop&amp;ctrl=user&amp;filter&#95;partner=0 -- HikaShop version -- : 4.7.5 -- Joomla version -- : 4.3.4 -- PHP version -- : 8.2 -- Browser(s) name and version -- : Chrome  Bonjour, Sur le listing user de hikashop, je voudrais faire en sorte que la barre de recherche puisse chercher également sur certains custom field. Comment puis-je m'y prendre ? Bien cordialement")*

Bonjour,

Cela devrait déjà être possible avec ce champ sur le listing des clients dans votre HikaShop.
Pourriez-vous confirmer ?

Pour le listing des commandes, il n'y a en pas de support de cette fonction actuellement.
Ce devrait être rajoutable en ajoutant le code: Code:

$fields = $fieldsClass-&gt;getData('backend_listing', 'user', false); foreach($fields as $field) { if($field-&gt;field_type == "customtext") continue; $searchMap[] = 'a.'.$field-&gt;field_namekey; }

avant la ligne: Code:

$extrafilters = array();

dans administrator/components/com_hikashop/views/order/view.html.php

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vOTA3MjM1LXJlY2hlcmNoZS11c2VyLXN1ci11bi1jdXN0b20tZmllbGQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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?

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

Time to create page: 0.070 seconds

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