Bug 13326 - Add possibilty to edit purchase suggestion in the OPAC
Summary: Add possibilty to edit purchase suggestion in the OPAC
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: OPAC (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-21 21:19 UTC by Marjorie Barry-Vila
Modified: 2023-07-28 19:33 UTC (History)
5 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marjorie Barry-Vila 2014-11-21 21:19:33 UTC
Hi,

Currently, you can not edit a purchase suggestion made in OPAC.
You can just delete them.
Il would be fine to have
There is a reason for that?

Regards,

Marjorie
Comment 1 Katrin Fischer 2014-11-21 21:22:08 UTC
I think it might be a problem to allow editing once the record has been ordered, it would probably have to be limited to pending suggestions - else it might be confusing? Not sure. I have changed the version to 'master' since it's not possible in the newest versions of Koha or the version to be.
Comment 2 Ray Delahunty 2019-11-26 08:03:30 UTC
Currently a suggestion that is deleted by the user who submitted it via their account sees the data in the suggestions table deleted. This can be even AFTER the suggestion has been accepted, the user notified, and the ordering process has started. For us this is unwelcome functionality as we want to record counts of purchase suggestions. We will be looking at using jquery to hide the delete functionality in the user account. We did consider adding an old_suggestions table as well, so we could archive suggestions (such as those made in a previous academic year), so we note and are delighted with the development work for bug 22784.
Comment 3 Vinod 2019-12-27 04:14:53 UTC
Hi,

The provision can be made in this way

A system preference in OPAC with following option to choose/activate can be made

1. Users can edit/delete purchase suggestion at any stage
2. Users can edit/delete purchase suggestion before approval/ordered only


A message should populate on OPAC if option two is selected by librarian " you can't edit/delete purchase suggestion"
Comment 4 Rhonda Kuiper 2020-12-21 16:56:09 UTC
We have found the ability for patron to delete items even after the item has been ordered a problem especially with the functionality in 20.05 that limits the number of patron suggestion within a specified time period. (MAXTOTALSUGGESTION and NUMBEROFSUGGESTIONDAYS).  With this function, if the patron deletes a suggestion after it is no longer in pending status, the NUMBEROFSUGGESTIONDAYS calculation isn't accurate.  We ended up removing the Delete function on the OPAC with some jquery.  
The solution I would suggest is two fold:
-If the suggestion is in pending status, they can delete it (or edit as suggested earlier).  Rationale: The library staff has not spent any time dealing with the suggestion so there is no time lost or confusion about what the person wants.
-If the suggestion in any status other that pending, they can delete it from the OPAC display but what is really happening is the suggestion is archived (using the function from bug 22784).  What would display on the OPAC is all non-archived suggestions.  This way the suggestion stays in the database and the NUMBEROFSUGGESTIONDAYS calculation will still be accurate along with any other stats a library would like to gather.