OPAC suggestions: search catalogue and suggestions before adding RFC

From Koha Wiki
Jump to navigation Jump to search

Opac suggestions: search test

Reader adds a suggestion on page opac-suggestions.pl?op=add (as today).

But when she clicks on "validate", Koha searches the catalog using the elements it has in the suggestion form. It also searches the pending suggestions.

The search should be focused rather that wide, title being searched on title index rather than on a catch-all index: we don't want to have the patron go through any extra screen/click if that's not necessary.

Case #1 : results = 0. User moves on to opac-suggestions.pl (nothing changes here for the user)

Case #2 : results > 0.

  • User gets a message on the top of the page that says: "//You suggest title "value-of-what-she-entered-in-form". We think that suggestion might have already been taken into account: items bellow look a lot like what you are suggesting. Do you want to <link>confirm your suggestion</link>? Or go <link>back to the catalog</link>//?
  • list of results

If she clicks on "confirm suggestion", she moves on to opac-suggestion.pl.