mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-10 15:21:27 +00:00
Refactor LBP3 text search to use the category system
This commit is contained in:
parent
2ec6bff8e2
commit
cd926a8415
11 changed files with 51 additions and 30 deletions
|
@ -26,10 +26,6 @@ public class SearchController : ControllerBase
|
|||
this.database = database;
|
||||
}
|
||||
|
||||
[HttpGet("searchLBP3")]
|
||||
public Task<IActionResult> SearchSlotsLBP3([FromQuery] string textFilter)
|
||||
=> this.SearchSlots(textFilter, "results");
|
||||
|
||||
[HttpGet("search")]
|
||||
public async Task<IActionResult> SearchSlots([FromQuery] string query, string? keyName = "slots")
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue