The source project of this merge request has been removed.
[FIX] exclude the page we want to delete from the list of page that is propose by the autocomplete for redirection
Description
When we want to delete a wiki page and we check create redirection , and when we search for a page we want to redirect to , the autocomplete propose also the page we want to delete. that is not suppose to happen i have exclude the pages that we want to delete from the list propose by the autocomplete
Steps to test
- create a wiki page
- and then on the list of page select the page and select remove
- in the modal select create redirect
- and the in the input if you search for the page you want to delete it won't appears