update for new db models/marshmallow object

This commit is contained in:
2025-10-03 21:40:48 +10:00
parent 3c8babb619
commit a15fbd74d5

View File

@@ -377,7 +377,7 @@ function RemoveOverrideForceMatch(face_pos)
else
who=document.viewing.file_details.faces[face_pos].refimg.person.tag
d='&face_id='+document.viewing.file_details.faces[face_pos].id+'&person_tag='+who+'&file_eid='+current
d='&face_id='+document.viewing.file_details.faces[face_pos].id+'&person_tag='+document.viewing.file_details.faces[face_pos].refimg.person.tag+'&file_eid='+document.viewing.id
$.ajax({ type: 'POST', data: d, url: '/remove_force_match_override',
success: function(data) {
delete document.viewing.file_details.faces[face_pos].override
@@ -547,7 +547,7 @@ function FaceDBox(key, item)
// pops results up in a dbox
function JoblogSearch()
{
data="eid="+current
data="eid="+document.viewing.id
$.ajax({ type: 'POST', data: data, url: '/joblog_search', success: function(res) {
data = JSON.parse(res)
div ='<div><table class="table table-striped table-sm sm-txt">'