Skip to content

Commit 0891fcf

Browse files
committed
Merge branch '4.3-dev' into 4.4-dev
2 parents e5eb843 + 912c352 commit 0891fcf

File tree

19 files changed

+35
-23
lines changed

19 files changed

+35
-23
lines changed

administrator/components/com_guidedtours/src/Model/StepsModel.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ public function __construct($config = [])
5050
'created_by', 'a.created_by',
5151
'modified', 'a.modified',
5252
'modified_by', 'a.modified_by',
53+
'note', 'a.note',
5354
];
5455
}
5556

@@ -200,9 +201,10 @@ protected function getListQuery()
200201
$search = '%' . str_replace(' ', '%', trim($search)) . '%';
201202
$query->where(
202203
'(' . $db->quoteName('a.title') . ' LIKE :search1'
203-
. ' OR ' . $db->quoteName('a.description') . ' LIKE :search2)'
204+
. ' OR ' . $db->quoteName('a.description') . ' LIKE :search2'
205+
. ' OR ' . $db->quoteName('a.note') . ' LIKE :search3)'
204206
)
205-
->bind([':search1', ':search2'], $search);
207+
->bind([':search1', ':search2', ':search3'], $search);
206208
}
207209
}
208210

administrator/components/com_guidedtours/src/Model/ToursModel.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ public function __construct($config = [])
5151
'created_by', 'a.created_by',
5252
'modified', 'a.modified',
5353
'modified_by', 'a.modified_by',
54+
'note', 'a.note',
5455
];
5556
}
5657

@@ -220,9 +221,10 @@ public function getListQuery()
220221
$search = '%' . str_replace(' ', '%', trim($search)) . '%';
221222
$query->where(
222223
'(' . $db->quoteName('a.title') . ' LIKE :search1'
223-
. ' OR ' . $db->quoteName('a.description') . ' LIKE :search2)'
224+
. ' OR ' . $db->quoteName('a.description') . ' LIKE :search2'
225+
. ' OR ' . $db->quoteName('a.note') . ' LIKE :search3)'
224226
)
225-
->bind([':search1', ':search2'], $search);
227+
->bind([':search1', ':search2', ':search3'], $search);
226228
}
227229
}
228230

administrator/components/com_joomlaupdate/src/Controller/UpdateController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public function download()
5959
$message = null;
6060
$messageType = null;
6161

62-
// The validation was not successful so abort.
62+
// The validation was not successful so stop.
6363
if ($result['check'] === false) {
6464
$message = Text::_('COM_JOOMLAUPDATE_VIEW_UPDATE_CHECKSUM_WRONG');
6565
$messageType = 'error';

administrator/components/com_menus/presets/alternate.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,14 @@
349349
permission="core.manage;com_joomlaupdate"
350350
/>
351351

352+
<menuitem
353+
title="MOD_MENU_MANAGE_GUIDEDTOURS"
354+
type="component"
355+
element="com_guidedtours"
356+
link="index.php?option=com_guidedtours&amp;view=tours"
357+
permission="core.manage;com_guidedtours"
358+
/>
359+
352360
<menuitem
353361
title="COM_POSTINSTALL"
354362
type="component"

administrator/components/com_users/src/Model/MethodsModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public function deleteAll(?User $user = null): void
9595
$user = Factory::getApplication()->getIdentity() ?: $this->getCurrentUser();
9696
}
9797

98-
// If the user object is a guest (who can't have MFA) we abort with an error
98+
// If the user object is a guest (who can't have MFA) we stop with an error
9999
if ($user->guest) {
100100
throw new RuntimeException(Text::_('JERROR_ALERTNOAUTHOR'), 403);
101101
}

administrator/language/en-GB/com_guidedtours.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ COM_GUIDEDTOURS_FIELD_VALUE_INTERACTIVESTEP_TYPE_TEXT_FIELD="Text Field"
2020
COM_GUIDEDTOURS_FIELD_VALUE_STEP_TYPE_INTERACTIVE="Interactive"
2121
COM_GUIDEDTOURS_FIELD_VALUE_STEP_TYPE_NEXT="Next"
2222
COM_GUIDEDTOURS_FIELD_VALUE_STEP_TYPE_REDIRECT="Redirect"
23-
COM_GUIDEDTOURS_FILTER_SEARCH_DESC="Search in title. Prefix with ID: to search for a tour ID or DESCRIPTION: to search in description."
23+
COM_GUIDEDTOURS_FILTER_SEARCH_DESC="Search in title and note. Prefix with ID: to search for a tour ID or DESCRIPTION: to search in description."
2424
COM_GUIDEDTOURS_FILTER_SEARCH_LABEL="Search Tours"
2525
COM_GUIDEDTOURS_GUIDEDTOURS_TABLE_CAPTION="Tours"
2626
COM_GUIDEDTOURS_MANAGER_STEP_EDIT="Guided Tours: Edit Step"
@@ -44,7 +44,7 @@ COM_GUIDEDTOURS_ORDER_TYPE_ASC="Type ascending"
4444
COM_GUIDEDTOURS_ORDER_TYPE_DESC="Type descending"
4545
COM_GUIDEDTOURS_STEP_DESCRIPTION_TRANSLATION="Description (%s)"
4646
COM_GUIDEDTOURS_STEP_EDIT_STEP="Edit Step"
47-
COM_GUIDEDTOURS_STEP_FILTER_SEARCH_DESC="Search in title. Prefix with ID: to search for a step ID or DESCRIPTION: to search in description."
47+
COM_GUIDEDTOURS_STEP_FILTER_SEARCH_DESC="Search in title and note. Prefix with ID: to search for a step ID or DESCRIPTION: to search in description."
4848
COM_GUIDEDTOURS_STEP_FILTER_SEARCH_LABEL="Search Steps"
4949
COM_GUIDEDTOURS_STEP_NEW_STEP="New Step"
5050
COM_GUIDEDTOURS_STEP_POSITION_DESC="Select the position of the step popup, relative to the element it points to."

build/media_source/plg_installer_webinstaller/js/client.es6.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ customElements.whenDefined('joomla-tab').then(() => {
404404
const installerTabs = document.getElementById('myTab');
405405
const link = installerTabs.querySelector('button[aria-controls=web]');
406406

407-
// Abort if the IFW tab cannot be found
407+
// Stop if the IFW tab cannot be found
408408
if (!link) {
409409
return;
410410
}

build/media_source/system/js/fields/joomla-field-subform.w-c.es6.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@
514514
event.preventDefault();
515515
}
516516

517-
// Escape is the abort keystroke (for any target element)
517+
// Escape is the cancel keystroke (for any target element)
518518
if (event.keyCode === KEYCODE.ESC && item) {
519519
item.setAttribute('draggable', 'false');
520520
item.setAttribute('aria-grabbed', 'false');
@@ -573,7 +573,7 @@
573573
switchRowPositions(item, row);
574574
});
575575

576-
// dragend event to clean-up after drop or abort
576+
// dragend event to clean-up after drop or cancelation
577577
// which fires whether or not the drop target was valid
578578
this.addEventListener('dragend', () => {
579579
if (item) {

libraries/src/Application/CMSApplication.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ function ($systemVariable) use ($input) {
269269
$input->set($systemVariable, null);
270270
}
271271

272-
// Abort when there are invalid variables
272+
// Stop when there are invalid variables
273273
if ($invalidInputVariables) {
274274
throw new \RuntimeException('Invalid input, aborting application.');
275275
}

libraries/src/Console/FinderIndexCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ private function purge()
329329
// Attempt to purge the index.
330330
$return = $model->purge();
331331

332-
// If unsuccessful then abort.
332+
// If unsuccessful then stop.
333333
if (!$return) {
334334
$message = Text::_('FINDER_CLI_INDEX_PURGE_FAILED', $model->getError());
335335
$this->ioStyle->error($message);

0 commit comments

Comments
 (0)