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

[com_finder] filters view: searchtools ordering, bug corrections and some improvements #10029

Merged

Conversation

andrepereiradasilva
Copy link
Contributor

@andrepereiradasilva andrepereiradasilva commented Apr 21, 2016

Summary of Changes

This PR by adding the ordering normalizes the searchtools in com_finder filters view.

Also:

  • Corrects some minor bugs
  • Some code style improvements.
Before PR

image

After PR

image

Testing Instructions

  1. Use latest staging and apply patch
  2. Go to Components -> Smart Search -> Filters
  3. Create some filters
  4. Test if search, filters, ordering and page limit (aka searchtools) are working properly.

@joomla-cms-bot joomla-cms-bot added Language Change This is for Translators PR-staging labels Apr 21, 2016
@joomla-cms-bot
Copy link

This PR has received new commits.

CC: @andrepereiradasilva


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10029.

@joomla-cms-bot
Copy link

This PR has received new commits.

CC: @andrepereiradasilva


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10029.

@brianteeman brianteeman changed the title [com_finder] filters view: searchtools ordering, bug corrections and some improvements [com_finder] filters view: searchtools ordering, bug corrections and some improvements Apr 21, 2016
@brianteeman
Copy link
Contributor

Would it not be consistent to move the message that Smart Search content plugin is not enabled to above the filters?


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10029.

@andrepereiradasilva
Copy link
Contributor Author

yes it will and it will be done in another PR.
this PR is only for the smart search filters view (Smart Search: Search Filters).

@brianteeman
Copy link
Contributor

brianteeman commented Apr 21, 2016 via email

@andrepereiradasilva
Copy link
Contributor Author

no smart search has many things to correct. i will do one PR for each view.

@brianteeman
Copy link
Contributor

I have tested this item ✅ successfully on 2b4ceb2


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10029.

@joomla-cms-bot
Copy link

This PR has received new commits.

CC: @andrepereiradasilva, @brianteeman


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10029.

@andrepereiradasilva
Copy link
Contributor Author

andrepereiradasilva commented Apr 22, 2016

@brianteeman just corrected a state filter problem. wasn't working properly in hathor. See (9855e85)

To test this change just test the "state" filter in isis and in hathor.

I found similar problem in other filters in hathor. will make a PR to solve them.

@brianteeman
Copy link
Contributor

Is it related to #6578

@andrepereiradasilva
Copy link
Contributor Author

no, not related.

This is because the filter input is too restrictive. 'int' doesn't allow empty values, only int. The same problem in happing to languages. All is *, but the input filter is cmd that doesn't allow *.

See here https://github.com/joomla/joomla-cms/blob/staging/libraries/vendor/joomla/filter/src/InputFilter.php#L147-164

As said i will make a PR to correct them.

@brianteeman
Copy link
Contributor

OK - I was hoping it was and we could kill two birds with one PR

@grhcj
Copy link

grhcj commented Apr 23, 2016

I have tested this item ✅ successfully on 9855e85


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10029.

@andrepereiradasilva
Copy link
Contributor Author

@brianteeman @grhcj thanks for testing!

@brianteeman
Copy link
Contributor

I have tested this item ✅ successfully on 9855e85


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10029.

@brianteeman
Copy link
Contributor

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10029.

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Apr 29, 2016
@brianteeman brianteeman added this to the Joomla 3.5.2 milestone Apr 29, 2016
@rdeutz rdeutz merged commit 3176587 into joomla:staging Apr 29, 2016
@andrepereiradasilva andrepereiradasilva deleted the com_finder-filters-searchtools branch April 29, 2016 21:17
@rdeutz rdeutz modified the milestones: Joomla 3.5.2, Joomla! 3.6.0 May 1, 2016
@rdeutz rdeutz removed this from the Joomla 3.5.2 milestone May 1, 2016
@brianteeman brianteeman removed the RTC This Pull Request is Ready To Commit label May 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Language Change This is for Translators
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants