mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2025-10-29 17:25:32 +00:00
more bugs fixed, more bugs created
This commit is contained in:
@@ -27,6 +27,7 @@ type ReihePage struct {
|
||||
pagemodels.Page
|
||||
}
|
||||
|
||||
// TODO: data richtig seutzen, damit die Reihe mit dem template _reihe angezeigt wird
|
||||
func (p *ReihePage) Setup(router *router.Router[*core.RequestEvent], app core.App, engine *templating.Engine) error {
|
||||
router.GET(URL_REIHE, func(e *core.RequestEvent) error {
|
||||
id := e.Request.PathValue("id")
|
||||
|
||||
@@ -150,6 +150,10 @@ func (p *ReihenPage) PlaceRequest(app core.App, engine *templating.Engine, e *co
|
||||
return p.Get(e, engine, data)
|
||||
}
|
||||
|
||||
// BUG: Umlaute werden nicht korrekt gesucht
|
||||
// BUG: alternative treffer haben keine relations
|
||||
// TODO: Suche nach Musenalm-ID
|
||||
// TODO: Suchverhalten bei gefilterten Personen, Orten und Jahren
|
||||
func (p *ReihenPage) SearchRequest(app core.App, engine *templating.Engine, e *core.RequestEvent) error {
|
||||
search := e.Request.URL.Query().Get(PARAM_SEARCH)
|
||||
data := map[string]interface{}{}
|
||||
|
||||
Reference in New Issue
Block a user