Correct parameter order

This commit is contained in:
cram42 2023-02-01 17:56:23 +11:00
parent b72c6b7afc
commit 4b4c228f1a

View file

@ -442,7 +442,7 @@ class AssetsController extends Controller
* @since [v3.0]
* @return Redirect
*/
public function getAssetByTag($tag=null, Request $request)
public function getAssetByTag(Request $request, $tag=null)
{
$tag = $tag ? $tag : $request->get('assetTag');
$topsearch = ($request->get('topsearch') == 'true');