Reputation: 1527
I’m looking for a way to customize the Explorer that pops-up when using the PageChooserPanel, ideally I would like to add two more columns there. I’ve found this http://docs.wagtail.io/en/v2.2/reference/hooks.html#choosers but that only covers generating a custom queryset not adding columns, is that even possible?
Alternatively I can live with only changing the default title shown on the pagechooserpanel explorer but so far adding a __str__
method to the class hasn’t worked
Here a graphic representation to my question
Upvotes: 1
Views: 522
Reputation: 25227
You can customise the displayed title by overriding your page model's get_admin_display_title
method:
Upvotes: 2