Fix issue [#31160] Use of JRequest in the Users Component Controller
Update code for issue  [#31160] Use of JRequest in the Users Component Controller
Beez3: when elements aren't found it broke others scripts in the page
fixed bug on caching and pathway workaround
Improvement to result display in smart search

Results are truncated to a number of characters from the begining, so unless your query falls there, you won't see it in the results view, which may confuse the user who did the search.

This improves the truncation so that characters around the search query are shown. If it was the last word in the article, then chosen amount of characters before it will be shown (or after if it was at the begining), otherwise it aims for the search query to be in the middle of excerpt for optimal understanding.

If the match was not in the body of the description, then the first XXX characters will be shown like before.

Maybe such function would be useful to add to JHtml.string?
Update default_result.php
Update error.php

<?php if ((!$statusFixed) && ($this->countModules('status'))) : ?>
needs to be changed by
<?php if ((!$statusFixed) && ($this->getInstance()->countModules('status'))) :?>

$this is, at that point, instantiated to JDocumentError which has not countModules method throwing an error.
Add valid_elements option to TinyMCE plugin
Fix wrong results returned by isEnabled

When language filter plugin is disabled and language filter is enabled in code using JFactory::getApplication()->setLanguageFilter(true) calling JLanguageAssociations->isEnabled causes notices and fatal errors and returns wrong result if item associations are in fact disabled.

What happens is that JPluginHelper::getPlugin returns empty array when certain plugin is disabled and since there is no params to be passed to JRegistry and $enabled gets default value.
Update search.php
replaced previous solution by improved one
fixed typo
fixed typo
Reverted to first solution

The last solution integrating userState introduced a new issue where the ordering field was hold even when not passed in. So the userState is dropped again and the ordering field is evaluated on every page load.
Fixed typo

Replaced the expected REQUEST variables for filter order and filter order direction by commonly used variable names.
Update search.php
Bug fix: reset params after the display() method
Use Exceptions for catching DB errors
Filter unpublished content items from search results.
Update joomla.sql