Page MenuHomePhabricator

Datatables doesn't work on /topic/<id>/ and /subtopic/<id>/ and maybe other places
Closed, ResolvedPublic

Description

Datatables doesn't work on:

  • /topic/<id>/
  • /subtopic/<id>/
  • /ticket/<id>
  • and maybe other places.

Original description

Klára wants a search field on every page in the Tracker. Is that possible? It is currently only in the main Ticket list (https://tracker.wikimedia.cz/tickets/).

This would enable Klára to filter out a given state of ticket ("draft" or "approved" etc) because the search feature works for all fields of the table, not just the name.

Event Timeline

I'm not sure if I get what you mean. Search field is near every table and works across all fields, see my screenshots below.

Snímek z 2018-12-12 17-35-51.png (679×1 px, 225 KB)

Snímek z 2018-12-12 17-35-31.png (635×1 px, 184 KB)

As you wrote "Klára wants a search field on every page in the Tracker", do you want a search field everywhere, searching for tickets?

I don't see a search field here, for example:
https://tracker.wikimedia.cz/topic/115/

(topic and subtopic pages)

Urbanecm renamed this task from Search field everywhere to Datatables doesn't work on /topic/<id>/ and /subtopic/<id>/ and maybe other places.Dec 13 2018, 9:32 PM
Urbanecm updated the task description. (Show Details)

I don't see a search field here, for example:
https://tracker.wikimedia.cz/topic/115/

(topic and subtopic pages)

Hmm, that's a bug. Renamed this task to represent the issue better and moved to Bugs column, as I wanted to have the search field in all tables.

In https://gerrit.wikimedia.org/r/c/wikimedia-cz/tracker/+/478472 the search field is present and working on (AFAIK) ALL tables.

I think https://gerrit.wikimedia.org/r/c/wikimedia-cz/tracker/+/478423 broke this functionality.

I will be looking into a fix.

Nevermind I just see that @Stibba claimed it. Comment is still valid, but I think Stibba will fix it.

Change 479714 had a related patch set uploaded (by Stibba; owner: Stibba):
[wikimedia-cz/tracker@master] Fix search for datatables

https://gerrit.wikimedia.org/r/479714

Urbanecm triaged this task as Medium priority.Dec 14 2018, 6:32 PM

Change 479714 merged by jenkins-bot:
[wikimedia-cz/tracker@master] Fix search for datatables

https://gerrit.wikimedia.org/r/479714