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

Search for c++ packages does not work correctly #217

Closed
jme52 opened this issue Mar 3, 2021 · 5 comments
Closed

Search for c++ packages does not work correctly #217

jme52 opened this issue Mar 3, 2021 · 5 comments
Labels
bug Something isn't working

Comments

@jme52
Copy link
Contributor

jme52 commented Mar 3, 2021

One of the "Featured topics" on https://fortran-lang.org/packages/ is c++. However, the search page https://fortran-lang.org/packages/search/?query=c++ seems to list many packages that don't have c++ in their list of tags or descriptions. Is it possible that the search inputs are not properly escaped?

@awvwgk awvwgk added the bug Something isn't working label Mar 3, 2021
@henilp105
Copy link
Member

The Featured topics has changed it to cpp as that '+' in c++ was being termed as a space replacer and to join a line of words
by the script thus only rendering the results for "c " that is c with 2 spaces. that has been fixed by replacing c++ by cpp.
request to close this issue as it has been resolved.

Thanks and Regards,
Henil Panchal

@henilp105
Copy link
Member

@awvwgk @jme52 This issue has been resolved thus request to close this issue #217.

Thanks and Regards,
Henil Panchal

@awvwgk
Copy link
Member

awvwgk commented Jan 18, 2022

I think this issue is still present, since we do not properly escape a search like c++ at the moment.

@henilp105
Copy link
Member

sir I can make the search code so should i contribute it.
Thanks and Regards,
Henil Panchal

@awvwgk
Copy link
Member

awvwgk commented Jan 18, 2022

The package search is implemented here: https://github.com/fortran-lang/fortran-lang.org/blob/master/assets/js/package_search.js

Patches are welcome.

henilp105 added a commit to henilp105/fortran-lang.org that referenced this issue Jan 18, 2022
I have made a function that does the Regex and Resolves the issue for c++.

Thanks and Regards,
Henil Panchal
henilp105 added a commit to henilp105/fortran-lang.org that referenced this issue Jan 18, 2022
henilp105 added a commit to henilp105/fortran-lang.org that referenced this issue Jan 18, 2022
henilp105 added a commit to henilp105/fortran-lang.org that referenced this issue Jan 18, 2022
henilp105 added a commit to henilp105/fortran-lang.org that referenced this issue Jan 18, 2022
I have made a function that would handle all the search utilities and regex and this also solves the Issue fortran-lang#217.

Thanks and Regards,
Henil Panchal
henilp105 added a commit to henilp105/fortran-lang.org that referenced this issue Jan 18, 2022
henilp105 added a commit to henilp105/fortran-lang.org that referenced this issue Jan 19, 2022
I have made a function that would handle all the search utilities and regex and this also solves the Issue fortran-lang#217.

Thanks and Regards,
Henil Panchal
henilp105 added a commit to henilp105/fortran-lang.org that referenced this issue Jan 19, 2022
I have done the changes that would handle all regex and this also solves the Issue fortran-lang#217.

Thanks and Regards,
Henil Panchal
henilp105 added a commit to henilp105/fortran-lang.org that referenced this issue Jan 19, 2022
henilp105 added a commit to henilp105/fortran-lang.org that referenced this issue Jan 19, 2022
I have made the changes  that would handle all regex and this also solves the Issue fortran-lang#217.

Thanks and Regards,
Henil Panchal
henilp105 added a commit to henilp105/fortran-lang.org that referenced this issue Jan 19, 2022
I have made changes that would handle all package search regex and this also solves the Issue fortran-lang#217.

Thanks and Regards,
Henil Panchal
LKedward added a commit that referenced this issue Apr 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants