Filterbug 1.2.17 auch im 1.3 beta
Posted: 10 Mar 2015, 10:31
Hallo
wir haben eine Merkwürdigkeit entdeckt die glaube auch schon im Ticket https://www.mantisbt.org/bugs/view.php?id=11974 gemeldet wurde und immernoch aktuell im 1.3 zu finden ist
wir sind im Project ( ich gehe jetzt mal auf die https://www.mantisbt.org/bugs/view_all_bug_page.php) - es werden ungefilter 2066 Einträge gezeigt - jetzt filtere ich mit Suchtext "search" es werden 139 angezeigt - jetzt filtere ich mit Suchtext "-search" es werden 1288 angezeigt Wo sind die restlichen Einträge?
In der Dokumentation wird diese Suchfunktion auch wie folgt beschrieben:
The Search field will look for simple keyword matches in the summary, description, steps to reproduce, additional information, issue id, or issue text id fields. It does not search through issue notes.
macht es aber wenn wir uns die SQL abfrage anschauen ( RMW - ist hier der Suchstring)
SELECT
COUNT(DISTINCT mantis_bug_table.id) AS idcnt
FROM
mantis_bug_table
JOIN
mantis_project_table ON mantis_project_table.id = mantis_bug_table.project_id
JOIN
mantis_bug_text_table ON mantis_bug_table.bug_text_id = mantis_bug_text_table.id
LEFT JOIN
mantis_bugnote_table ON mantis_bug_table.id = mantis_bugnote_table.bug_id
LEFT JOIN
mantis_bugnote_text_table ON mantis_bugnote_table.bugnote_text_id = mantis_bugnote_text_table.id
WHERE
mantis_project_table.enabled = 1
AND (mantis_bug_table.project_id = 577)
AND ((((summary LIKE '%RMW%')
OR (mantis_bug_text_table.description LIKE '%RMW%')
OR (mantis_bug_text_table.steps_to_reproduce LIKE '%RMW%')
OR (mantis_bug_text_table.additional_information LIKE '%RMW%')
OR (mantis_bugnote_text_table.note LIKE '%RMW%'))));
gibt es dazu schon Ideen wie man es fixt? Herzlichen Dank
wir haben eine Merkwürdigkeit entdeckt die glaube auch schon im Ticket https://www.mantisbt.org/bugs/view.php?id=11974 gemeldet wurde und immernoch aktuell im 1.3 zu finden ist
wir sind im Project ( ich gehe jetzt mal auf die https://www.mantisbt.org/bugs/view_all_bug_page.php) - es werden ungefilter 2066 Einträge gezeigt - jetzt filtere ich mit Suchtext "search" es werden 139 angezeigt - jetzt filtere ich mit Suchtext "-search" es werden 1288 angezeigt Wo sind die restlichen Einträge?
In der Dokumentation wird diese Suchfunktion auch wie folgt beschrieben:
The Search field will look for simple keyword matches in the summary, description, steps to reproduce, additional information, issue id, or issue text id fields. It does not search through issue notes.
macht es aber wenn wir uns die SQL abfrage anschauen ( RMW - ist hier der Suchstring)
SELECT
COUNT(DISTINCT mantis_bug_table.id) AS idcnt
FROM
mantis_bug_table
JOIN
mantis_project_table ON mantis_project_table.id = mantis_bug_table.project_id
JOIN
mantis_bug_text_table ON mantis_bug_table.bug_text_id = mantis_bug_text_table.id
LEFT JOIN
mantis_bugnote_table ON mantis_bug_table.id = mantis_bugnote_table.bug_id
LEFT JOIN
mantis_bugnote_text_table ON mantis_bugnote_table.bugnote_text_id = mantis_bugnote_text_table.id
WHERE
mantis_project_table.enabled = 1
AND (mantis_bug_table.project_id = 577)
AND ((((summary LIKE '%RMW%')
OR (mantis_bug_text_table.description LIKE '%RMW%')
OR (mantis_bug_text_table.steps_to_reproduce LIKE '%RMW%')
OR (mantis_bug_text_table.additional_information LIKE '%RMW%')
OR (mantis_bugnote_text_table.note LIKE '%RMW%'))));
gibt es dazu schon Ideen wie man es fixt? Herzlichen Dank