How to add select option to batch treatment

Hello there,

I’m a newbie on OmekaS development, and a newbie too on the forum so hello everybody :slight_smile:

I’m trying to modify a module which export items selected (or all items) to csv.
I want to add an option in the “select” on page result when you search some items. There is “batch-edit”, “batch-delete” etc… but I want to put a “export-selected” and “export-all” functionality.

That’s work when I put code directly in view and passed items or query to my module controller etc, but I want to put options by my module without modify directly omekaS code…

Do you have any idea ? I must used trigger ? like “view.browse.before” for example or not ?

Thanks to read me :slight_smile: