Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • funkwhale funkwhale
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 408
    • Issues 408
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 19
    • Merge requests 19
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • funkwhalefunkwhale
  • funkwhalefunkwhale
  • Issues
  • #882
Closed
Open
Issue created Jul 07, 2019 by theit8514@theit8514

Search does not navigate correctly for tracks named the same

Steps to reproduce

  1. Have multiple songs with the same name & different artists/albums.
  2. Search for the song name, showing search results with multiple tracks with the same name.

Search

  1. Click the first item. That song page loads.
  2. Click the other items.

What happens?

The view does not navigate to the other songs in the search results.

What is expected?

The view should change to the correct search result.

Context

Funkwhale version(s) affected: 19.1

The search results seen in the network capture look to be correct (see below). However, setting a breakpoint at onSelect (result, response) { router.push(result.routerUrl) } the result.routerUrl will always be the first ID.

   "tracks":[
      {
         "id":319,
         "mbid":"a3ee1a31-434d-4809-be42-68fa12d7280f",
         "title":"For Whom the Bell Tolls",
         "album":{
            "id":51,
            "mbid":"a5bee4eb-38e8-4fdc-b958-f2341ec81d70",
            "title":"Live",
            "artist":{
               "id":13,
               "mbid":"788ad31c-bf0c-4a31-83f8-b8b130d79c76",
               "name":"Apocalyptica"
            }
         },
         "artist":{
            "id":13,
            "mbid":"788ad31c-bf0c-4a31-83f8-b8b130d79c76",
            "name":"Apocalyptica"
         }
      },
      {
         "id":4315,
         "mbid":"518383ce-aea6-4942-89e1-639983fb4e32",
         "title":"For Whom the Bell Tolls",
         "album":{
            "id":470,
            "mbid":"b1923537-8b51-410f-b8a7-53e2ae81fcd4",
            "title":"Creeping Death",
            "artist":{
               "id":209,
               "mbid":"65f4f0c5-ef9e-490c-aee3-909e7ae6b2ab",
               "name":"Metallica"
            }
         },
         "artist":{
            "id":209,
            "mbid":"65f4f0c5-ef9e-490c-aee3-909e7ae6b2ab",
            "name":"Metallica"
         }
      },
      {
         "id":310,
         "mbid":"41572fb4-9dad-4de4-842e-7b06eefa5e57",
         "title":"For Whom the Bell Tolls",
         "album":{
            "id":49,
            "mbid":"3ea46c68-59f5-46d1-95ec-3cef0b37ee42",
            "title":"Inquisition Symphony",
            "artist":{
               "id":13,
               "mbid":"788ad31c-bf0c-4a31-83f8-b8b130d79c76",
               "name":"Apocalyptica"
            },
         },
         "artist":{
            "id":13,
            "mbid":"788ad31c-bf0c-4a31-83f8-b8b130d79c76",
            "name":"Apocalyptica"
         }
      }
   ]
Assignee
Assign to
Time tracking