Changes between Initial Version and Version 1 of Ticket #31340, comment 8


Ignore:
Timestamp:
May 23, 2025, 12:48:50 PM (3 months ago)
Author:
Simon Charette

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31340, comment 8

    initial v1  
    3838as in its current form it disallows usage of `Func(output_field=SearchQueryField())`.
    3939
    40 Happy to accept a new ticket with the above if you're willing to write tests, in the mean time your best bet is likely to subclass `SearchQuery` and override `__init__` to assign `my_tsquery_func` instead and support a different signature.
     40Happy to accept a new ticket with the above if you're willing to write tests, in the mean time your best bet is likely to subclass `SearchQuery` and override `__init__` to assign `self.function = "my_tsquery_func"` instead and support a different signature.
Back to Top