rero / sonar

SONAR - Swiss Open Access Repository
https://www.rero.ch/products/sonar
GNU Affero General Public License v3.0
12 stars 11 forks source link

Help in dedicated views is not based on flask-wiki package #984

Open PascalRepond opened 5 months ago

PascalRepond commented 5 months ago

Bug description:

Search and some othe functionnalities of the SONAR help do not work when in a dedicated view.

The fixing of the following issue (https://github.com/rero/sonar/issues/709) was poorly implemented with code from the flask-wiki package being copy-pasted directly into SONAR (see https://github.com/rero/sonar/tree/staging/sonar/help). When upgrading flask-wiki, the code in SONAR becomes deprecated and breaks.

Expected behavior:

Steps to Reproduce:

  1. Go to FOLIA
  2. Click on "Help/documentation"
  3. Try to search inside of the help module
  4. See error https://folia.unifr.ch/unifr/help/search?q=ad