Filterbug 1.2.17 auch im 1.3 beta

Deutschsprachiges Forum für Diskussionen und Fragen zu MantisBT

Moderators: Developer, Contributor

Post Reply
DB77
Posts: 59
Joined: 20 Jun 2011, 16:01

Filterbug 1.2.17 auch im 1.3 beta

Post by DB77 »

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
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Filterbug 1.2.17 auch im 1.3 beta

Post by atrol »

DB77 wrote:It does not search through issue notes.
macht es aber
Wohl schon ziemlich lange
https://www.mantisbt.org/bugs/view.php?id=4843#c9545
DB77 wrote: gibt es dazu schon Ideen wie man es fixt?
Ich habe keine Zeit mir das Thema genauer anzusehen, befürchte aber, dass ein überhasteter Fix leicht zu anderen Fehlern und/oder Performanceproblemen führen kann.
Please use Search before posting and read the Manual
Post Reply