See https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23990
Created attachment 181412 [details] [review] Bug 39732: Remove MarcRecordFromNewSuggestion from C4/Suggestions.pm
Created attachment 181425 [details] [review] Bug 39732: Remove MarcRecordFromNewSuggestion from C4/Suggestions.pm Note: This function was necessary for a very weird purpose. The whole process was: 1 - Have a suggestion as an hashref 2 - Convert it into a record 3 - Pass it to FindDuplicate 4 - C4/search exctract the exact same hashref as in 1 and performs the search Hence we extracted from FindDuplicate the part that uses the hashref and called it directly