mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -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]
|
* @since [v3.0]
|
||||||
* @return Redirect
|
* @return Redirect
|
||||||
*/
|
*/
|
||||||
public function getAssetByTag($tag=null, Request $request)
|
public function getAssetByTag(Request $request, $tag=null)
|
||||||
{
|
{
|
||||||
$tag = $tag ? $tag : $request->get('assetTag');
|
$tag = $tag ? $tag : $request->get('assetTag');
|
||||||
$topsearch = ($request->get('topsearch') == 'true');
|
$topsearch = ($request->get('topsearch') == 'true');
|
||||||
|
|
Loading…
Reference in a new issue