mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 21:28:11 +09:00 
			
		
		
		
	Package registry changes (#19305)
* removed debug logs * fixed SELECT * removed unneeded error type * use common SearchVersions method * remove empty container upload versions * return err
This commit is contained in:
		| @@ -63,8 +63,8 @@ func SearchPackages(ctx *context.Context) { | ||||
|  | ||||
| 	opts := &packages_model.PackageSearchOptions{ | ||||
| 		OwnerID:   ctx.Package.Owner.ID, | ||||
| 		Type:      string(packages_model.TypeComposer), | ||||
| 		QueryName: ctx.FormTrim("q"), | ||||
| 		Type:      packages_model.TypeComposer, | ||||
| 		Name:      packages_model.SearchValue{Value: ctx.FormTrim("q")}, | ||||
| 		Paginator: &paginator, | ||||
| 	} | ||||
| 	if ctx.FormTrim("type") != "" { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user