If you don't want to test with the actual XUL client, you can insert some legacy-style templates with a variation of
insert into actor.usr_setting (usr,name,value) select id, 'staff_client.copy_editor.templates', '{"test1":{"Holdable?":{"field":"holdable","value":"f","type":"attribute"},"Circulate?":{"type":"attribute","value":"f","field":"circulate"}},"hello world":{"Floating?":{"field":"floating","value":"1","type":"attribute"}},"test2":{"Fine Level":{"value":"3","field":"fine_level","type":"attribute"}}}' from actor.usr where id in (IDS_HERE);
Here's a branch for this:
collab/ phasefx/ lp1773995- xul-copy- template- conversion- propagation
Top commit at https:/ /git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/collab/ phasefx/ lp1773995- xul-copy- template- conversion- propagation
If you don't want to test with the actual XUL client, you can insert some legacy-style templates with a variation of
insert into actor.usr_setting (usr,name,value) select id, 'staff_ client. copy_editor. templates' , '{"test1" :{"Holdable? ":{"field" :"holdable" ,"value" :"f","type" :"attribute" },"Circulate? ":{"type" :"attribute" ,"value" :"f","field" :"circulate" }},"hello world": {"Floating? ":{"field" :"floating" ,"value" :"1","type" :"attribute" }},"test2" :{"Fine Level": {"value" :"3","field" :"fine_ level", "type": "attribute" }}}' from actor.usr where id in (IDS_HERE);