Manipulate Blueprints search action/method

,

Hey, ive created Virtual Products and i wonder if it is possible to manipulate how the search/filter field works. Right now it searches for a keyword for all the products, but i wonder if i can add my Database::All() mehtod to search for all the Data, because i display only 100 Products because of loading Problems. (2K Products).

Can i somehow say:

search: products-api-route

and in the Config.php i configue the route?

Here is the Blueprint with the Search in it:

title: Kategorie
preset: page

sections:
  products:
    type: pages
    template: product
    label: Produkte 
    layout: table
    limit: 20
    search: true
    columns:
      sku: true

This is not possible so far. The search is hardcoded here: kirby/config/sections/pages.php at main · getkirby/kirby · GitHub

What you could try is having your parent page return a custom Pages collection (a class that extends Kirby\Cms\Pages) in the ::children()/::childrenAndDrafts()/::drafts() methods. And in this class overwrite the standard ::search() method with your custom logic.