-
Notifications
You must be signed in to change notification settings - Fork 176
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
Error occurs after changing the import search query after paginating #4813
Comments
Hey, I would like to work on this! I have read through the frontend documentation and currently going through the backend documentation. Any guidance will be appreciated. |
Hi @Arunima22, Thank you for your interest in contributing. I will assign you this issue. Once you get your local development environment up and running, you'll have to prepare some data (channels) with which you can use to reproduce this search issue. For background, when you open a channel, there will be an ADD button which has a list of options, one of them being to upload files, and another to 'Import from channels' which will navigate you to the search interface. First, to prepare some data:
Steps to reproduce:
I believe the issue originates in this component https://github.com/learningequality/studio/blob/unstable/contentcuration/contentcuration/frontend/channelEdit/views/ImportFromChannels/SearchResultsList.vue Let us know if you need any more assistance, or would like to be unassigned. |
I have been able to reproduce the issue. Thank you for the guidance. I will work on this. |
Hello @bjester I have encountered an issue where I am not able to upload any pdfs to the channel. Do I need some particular channel settings to upload pdfs? |
Hi @Arunima22, it's always good to attach as much information as you can - recording, logs, all you have :) |
Hi @Arunima22, I wanted to mention that Learning Equality will be closed from December 23 to January 5. |
Observed behavior
After performing a search in the Import search modal which produces more than 1 page of results, navigating to subsequent page(s) and then revising the search term with something that would produce less resources, causes the search to fail.
Expected behavior
When the user updates the search term, it should reset the pagination back to page 1.
User-facing consequences
Revising search terms to be more specific after browsing through at least one page should be a well supported feature
Errors and logs
Without resetting the page index, it passes it along to the backend which returns a 404 because the results are unlikely enough to fill up to that page
Steps to reproduce the issue
The text was updated successfully, but these errors were encountered: