Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(global-search): allow global search on services list #32662

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

atm-irvine
Copy link
Contributor

NEW|New allow global search on services list

I've been added $search_all GETPOST to allow global search on services_list.
I created fieldstosearchall array with default options to search : product label and thirdparty name
I've also added a new hook to complete this array and a new hook to complete FROM sql request

@@ -128,6 +128,19 @@

$search_array_options = $extrafields->getOptionalsFromPost($object->table_element, '', 'search_');

$sall = GETPOST('search_all', 'alphanohtml') ? GETPOST('search_all', 'alphanohtml') : GETPOST('sall', 'alphanohtml');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have abandonned the "sall" in favor of "search_all".
Can you replace variable name and sole remove the GETPOST('sall')...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@eldy Okay I've been taking care of your suggestions

@eldy eldy added the PR to fix - See feedback in comments PR needs to be fixed to be integrated (some comments should describes the fix to do) label Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR to fix - See feedback in comments PR needs to be fixed to be integrated (some comments should describes the fix to do)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants