mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 15:44:11 -08:00
Correct parameter order
This commit is contained in:
parent
b72c6b7afc
commit
4b4c228f1a
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue