mirror of
				https://github.com/Theodor-Springmann-Stiftung/kgpz_web.git
				synced 2025-10-29 09:05:30 +00:00 
			
		
		
		
	Suche: HTMX + Webseite
This commit is contained in:
		| @@ -8,7 +8,7 @@ type IXMLItem interface { | ||||
| 	// - Keys should be unique | ||||
| 	// - Keys[0] has the special meaning of the primary key (for FTS etc.) | ||||
| 	Keys() []string | ||||
| 	Name() string | ||||
| 	Type() string | ||||
| } | ||||
|  | ||||
| type ILibrary interface { | ||||
|   | ||||
| @@ -147,7 +147,7 @@ func (p *XMLProvider[T]) ReverseLookup(item IXMLItem) []Resolved[T] { | ||||
| 	keys := item.Keys() | ||||
|  | ||||
| 	for _, key := range keys { | ||||
| 		r, err := p.Resolver.Get(item.Name(), key) | ||||
| 		r, err := p.Resolver.Get(item.Type(), key) | ||||
| 		if err == nil { | ||||
| 			ret = append(ret, r...) | ||||
| 		} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Simon Martens
					Simon Martens