n:href this generates 301 redirect

jednou
Member | 14
+
0
-

Hi,
i am using n:link in this way:

<?php
/** @persistent */
public $core_id;

public function actionPreview($device_id, $sys_id, $port_filter = null, $import = null){
?>

<a n:href="this, 'import'=>'yes'">bla</a>

which generates:
app.php?import=yes&device_id=1&sys_id=14&port_filter=ge-0&core_id=17&action=preview&presenter=Browser

But this link redirects 301 to:

app.php?core_id=17&import=yes&device_id=1&sys_id=14&port_filter=ge-0&action=preview&presenter=Browser

Any idea why?

Last edited by jednou (2017-10-02 14:35)