? ? ? Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
20 Oct 2019

If you want to search in the list of fields to find a specific field then there is more that you can do that simply search in the title. But there is no way to know this without reading the code.

This PR adds the full information for searching for a field or field group as a tooltip. This is in exactly the same format as in other components.

This PR also alpha sorts the language file

image

image

If you want to check the search code you can find it

// Filter by search in title
$search = $this->getState('filter.search');
if (! empty($search))
{
if (stripos($search, 'id:') === 0)
{
$query->where('a.id = ' . (int) substr($search, 3));
}
elseif (stripos($search, 'author:') === 0)
{
$search = $db->quote('%' . $db->escape(substr($search, 7), true) . '%');
$query->where('(ua.name LIKE ' . $search . ' OR ua.username LIKE ' . $search . ')');
}
else
{
$search = $db->quote('%' . str_replace(' ', '%', $db->escape(trim($search), true) . '%'));
$query->where('(a.title LIKE ' . $search . ' OR a.name LIKE ' . $search . ' OR a.note LIKE ' . $search . ')');
}
}

// Filter by search in title
$search = $this->getState('filter.search');
if (!empty($search))
{
if (stripos($search, 'id:') === 0)
{
$query->where('a.id = ' . (int) substr($search, 3));
}
else
{
$search = $db->quote('%' . str_replace(' ', '%', $db->escape(trim($search), true) . '%'));
$query->where('a.title LIKE ' . $search);

avatar brianteeman brianteeman - open - 20 Oct 2019
avatar brianteeman brianteeman - change - 20 Oct 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 20 Oct 2019
Category Administration com_fields Language & Strings
avatar brianteeman
brianteeman - comment - 20 Oct 2019

@zero-24 @SniperSister please can you look at the rips error

avatar SniperSister
SniperSister - comment - 21 Oct 2019

@brianteeman the drone.yml in your branch is outdated and incompatible to the new RIPS version that we are using. Updating the yaml (or updating the branch in general) will solve the issue.

avatar brianteeman brianteeman - change - 21 Oct 2019
Labels Added: ? ?
avatar brianteeman
brianteeman - comment - 21 Oct 2019

Thanks

avatar brianteeman
brianteeman - comment - 21 Oct 2019

grrh - now it fails on some javascript that is unrelated to anything in this pr

avatar infograf768
infograf768 - comment - 21 Oct 2019

relaunched drone

avatar brianteeman brianteeman - change - 6 Dec 2019
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2019-12-06 23:07:07
Closed_By brianteeman
avatar brianteeman brianteeman - close - 6 Dec 2019
avatar brianteeman brianteeman - change - 6 Dec 2019
Status Closed New
Closed_Date 2019-12-06 23:07:07
Closed_By brianteeman
avatar brianteeman brianteeman - change - 6 Dec 2019
Status New Pending
avatar brianteeman brianteeman - reopen - 6 Dec 2019
avatar Quy Quy - test_item - 7 Dec 2019 - Tested successfully
avatar Quy
Quy - comment - 7 Dec 2019

I have tested this item successfully on f9e90d6


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

avatar viocassel viocassel - test_item - 7 Dec 2019 - Tested successfully
avatar viocassel
viocassel - comment - 7 Dec 2019

I have tested this item successfully on f9e90d6


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

avatar Quy Quy - change - 7 Dec 2019
Status Pending Ready to Commit
avatar Quy
Quy - comment - 7 Dec 2019

RTC


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

avatar HLeithner HLeithner - change - 9 Dec 2019
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2019-12-09 10:03:38
Closed_By HLeithner
Labels Added: ?
avatar HLeithner HLeithner - close - 9 Dec 2019
avatar HLeithner HLeithner - merge - 9 Dec 2019
avatar HLeithner
HLeithner - comment - 9 Dec 2019

Thanks

avatar brianteeman
brianteeman - comment - 9 Dec 2019

Thanks

Add a Comment

Login with GitHub to post a comment