Double Tickets with Filters. #6

Closed
opened 2024-01-15 23:37:20 +00:00 by corbz · 1 comment
Owner

Sometimes, using filters will show double.

Check the JS for loading the count, the filters and the backend around both

image

Sometimes, using filters will show double. Check the JS for loading the count, the filters and the backend around both ![image](/attachments/aabc2a42-2c7f-49d8-8d9d-145408fe1fa0)
140 KiB
corbz added the
bug
label 2024-01-15 23:37:20 +00:00
corbz added this to the Ticket Website project 2024-01-15 23:37:20 +00:00
Author
Owner

This data was returned from the API. It appears to be a backend issue.

The first two tickets with the same filters are identical.


[
    {
        "uuid": "b0142315-b5c4-46a9-b02e-bdfdd6dffc37",
        "title": "IT Training Request",
        "description": "Requesting IT training sessions for the marketing team to enhance their proficiency in utilizing specific software tools. Providing a detailed outline of the desired training topics and the anticipated benefits for the team. Seeking assistance in scheduling and conducting the training sessions.",
        "author": {
            "uuid": "291cc4c1-3bb3-4417-aaa6-748606fede77",
            "icon": "/static/assets/images/defaultuser.webp",
            "email": "user@mail.com",
            "forename": "Default",
            "surname": "User",
            "department": null,
            "create_timestamp": "2024-01-08T23:16:17Z",
            "edit_timestamp": "2024-01-08T23:17:01.102000Z"
        },
        "create_timestamp": "2024-01-09T00:12:17Z",
        "edit_timestamp": "2024-01-09T00:12:17Z",
        "is_edited": false,
        "was_yesterday": true,
        "is_older_than_day": true,
        "timestamp": "2024-01-09T00:12:17Z",
        "priority": {
            "uuid": "0ebc194c-b856-4e4f-9def-cd190d1e8d43",
            "title": "Low",
            "colour": "#FFFFFF",
            "backgroundcolour": "#66DD66"
        },
        "tags": [
            {
                "uuid": "72fb255c-132f-4124-802d-f4c051620540",
                "title": "Requires Help",
                "colour": "#000000",
                "backgroundcolour": "#B2E57C"
            },
            {
                "uuid": "cc473838-acaf-43f9-a601-dc4ab1f9026c",
                "title": "Software",
                "colour": "#000000",
                "backgroundcolour": "#FED8B1"
            }
        ]
    },
    {
        "uuid": "b0142315-b5c4-46a9-b02e-bdfdd6dffc37",
        "title": "IT Training Request",
        "description": "Requesting IT training sessions for the marketing team to enhance their proficiency in utilizing specific software tools. Providing a detailed outline of the desired training topics and the anticipated benefits for the team. Seeking assistance in scheduling and conducting the training sessions.",
        "author": {
            "uuid": "291cc4c1-3bb3-4417-aaa6-748606fede77",
            "icon": "/static/assets/images/defaultuser.webp",
            "email": "user@mail.com",
            "forename": "Default",
            "surname": "User",
            "department": null,
            "create_timestamp": "2024-01-08T23:16:17Z",
            "edit_timestamp": "2024-01-08T23:17:01.102000Z"
        },
        "create_timestamp": "2024-01-09T00:12:17Z",
        "edit_timestamp": "2024-01-09T00:12:17Z",
        "is_edited": false,
        "was_yesterday": true,
        "is_older_than_day": true,
        "timestamp": "2024-01-09T00:12:17Z",
        "priority": {
            "uuid": "0ebc194c-b856-4e4f-9def-cd190d1e8d43",
            "title": "Low",
            "colour": "#FFFFFF",
            "backgroundcolour": "#66DD66"
        },
        "tags": [
            {
                "uuid": "72fb255c-132f-4124-802d-f4c051620540",
                "title": "Requires Help",
                "colour": "#000000",
                "backgroundcolour": "#B2E57C"
            },
            {
                "uuid": "cc473838-acaf-43f9-a601-dc4ab1f9026c",
                "title": "Software",
                "colour": "#000000",
                "backgroundcolour": "#FED8B1"
            }
        ]
    },
...
]
This data was returned from the API. It appears to be a backend issue. The first two tickets with the same filters are identical. ``` [ { "uuid": "b0142315-b5c4-46a9-b02e-bdfdd6dffc37", "title": "IT Training Request", "description": "Requesting IT training sessions for the marketing team to enhance their proficiency in utilizing specific software tools. Providing a detailed outline of the desired training topics and the anticipated benefits for the team. Seeking assistance in scheduling and conducting the training sessions.", "author": { "uuid": "291cc4c1-3bb3-4417-aaa6-748606fede77", "icon": "/static/assets/images/defaultuser.webp", "email": "user@mail.com", "forename": "Default", "surname": "User", "department": null, "create_timestamp": "2024-01-08T23:16:17Z", "edit_timestamp": "2024-01-08T23:17:01.102000Z" }, "create_timestamp": "2024-01-09T00:12:17Z", "edit_timestamp": "2024-01-09T00:12:17Z", "is_edited": false, "was_yesterday": true, "is_older_than_day": true, "timestamp": "2024-01-09T00:12:17Z", "priority": { "uuid": "0ebc194c-b856-4e4f-9def-cd190d1e8d43", "title": "Low", "colour": "#FFFFFF", "backgroundcolour": "#66DD66" }, "tags": [ { "uuid": "72fb255c-132f-4124-802d-f4c051620540", "title": "Requires Help", "colour": "#000000", "backgroundcolour": "#B2E57C" }, { "uuid": "cc473838-acaf-43f9-a601-dc4ab1f9026c", "title": "Software", "colour": "#000000", "backgroundcolour": "#FED8B1" } ] }, { "uuid": "b0142315-b5c4-46a9-b02e-bdfdd6dffc37", "title": "IT Training Request", "description": "Requesting IT training sessions for the marketing team to enhance their proficiency in utilizing specific software tools. Providing a detailed outline of the desired training topics and the anticipated benefits for the team. Seeking assistance in scheduling and conducting the training sessions.", "author": { "uuid": "291cc4c1-3bb3-4417-aaa6-748606fede77", "icon": "/static/assets/images/defaultuser.webp", "email": "user@mail.com", "forename": "Default", "surname": "User", "department": null, "create_timestamp": "2024-01-08T23:16:17Z", "edit_timestamp": "2024-01-08T23:17:01.102000Z" }, "create_timestamp": "2024-01-09T00:12:17Z", "edit_timestamp": "2024-01-09T00:12:17Z", "is_edited": false, "was_yesterday": true, "is_older_than_day": true, "timestamp": "2024-01-09T00:12:17Z", "priority": { "uuid": "0ebc194c-b856-4e4f-9def-cd190d1e8d43", "title": "Low", "colour": "#FFFFFF", "backgroundcolour": "#66DD66" }, "tags": [ { "uuid": "72fb255c-132f-4124-802d-f4c051620540", "title": "Requires Help", "colour": "#000000", "backgroundcolour": "#B2E57C" }, { "uuid": "cc473838-acaf-43f9-a601-dc4ab1f9026c", "title": "Software", "colour": "#000000", "backgroundcolour": "#FED8B1" } ] }, ... ] ```
corbz closed this issue 2024-01-16 12:55:30 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: corbz/ticket-website#6
No description provided.