User tests: Successful: Unsuccessful:
@peteruoi you need to change the code here: administrator/components/com_patchtester/PatchTester/Model/PullsModel.php;) I have just tested it and it fixes the issue for me ;) Please make also sure you use the last version of com_patchtester.
@mbabker can you consider to merge this for a new release? This allows us to search via ID. Currently we find nothing as we just escape the id ;) Thanks.
It works fine! Before i updated the PullModel and not the pullsmodel.
Its ok now, both id and string! Thanks!
| Status | New | ⇒ | Closed |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2015-12-04 22:39:47 |
| Closed_By | ⇒ | zero-24 |
i tried again but whenever i search for a string such as "id"
a message like
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ':8538)' at line 4 SQL=SELECT COUNT(*) FROM
fxowe_patchtester_pullsASaLEFT JOINfxowe_patchtester_testsAStON t.pull_id = a.pull_id WHERE (a.titleLIKE '%id:8538%') OR (a.pull_id= id:8538)appears.
Maybe the cause is that the xamp environment i installed has mariadb as default?
Anyway, it worked fine when i just searched for an id like "8538".
The fix however didn't make any difference for my case :)