Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import by ID #24

Open
FOSSforlife opened this issue May 2, 2020 · 0 comments
Open

Import by ID #24

FOSSforlife opened this issue May 2, 2020 · 0 comments
Labels
good first issue Good for newcomers

Comments

@FOSSforlife
Copy link
Member

FOSSforlife commented May 2, 2020

We have a searchByIdentifiers() function in "item.service.ts" that searches for a single item by mbid, artist and title, which is used to check if an item already exists in the database before adding to a user's collection.

We simply need to add an "id" parameter which will also search the item's ID, and then update the addItems() function to add the id into the searchInput if it exists.

@FOSSforlife FOSSforlife added the good first issue Good for newcomers label May 2, 2020
@FOSSforlife FOSSforlife changed the title Can import by ID Import by ID May 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant