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

Added trim function to remove leading or tailing white spaces in the searched term before searching #918

Merged
merged 2 commits into from
Feb 27, 2025

Conversation

sahitya-chandra
Copy link
Contributor

@sahitya-chandra sahitya-chandra commented Feb 26, 2025

Description

Added trim function to remove or strip leading and tailing white spaces in the searched term before start searching.
Added value.trim() in SearchBar.vue

Related issue

fixed #917

How Has This Been Tested?

I have tested all the changes locally.

Screenshots (if appropriate):

Screencast.from.2025-02-26.13-23-27.webm

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

@sahitya-chandra
Copy link
Contributor Author

@romain-fontugne Sir please review my code.

@dpgiakatos dpgiakatos self-requested a review February 27, 2025 02:51
Copy link
Member

@dpgiakatos dpgiakatos left a comment

Choose a reason for hiding this comment

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

Add the trim function to the value variable in line 323 of the original code.

@sahitya-chandra
Copy link
Contributor Author

Please review the code sir...

Copy link
Member

@dpgiakatos dpgiakatos left a comment

Choose a reason for hiding this comment

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

thanks

@dpgiakatos dpgiakatos merged commit 2c62334 into InternetHealthReport:master Feb 27, 2025
6 of 7 checks passed
@sahitya-chandra sahitya-chandra deleted the 917 branch February 27, 2025 03:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Strip white spaces for search
2 participants