@@ -178,27 +178,27 @@ impl SearchOptions {
178178 let mut url_str = url. to_string ( ) ;
179179
180180 // Manually append assignee parameter if present
181- if let Some ( assignees) = & self . assignee {
182- if !assignees. is_empty ( ) {
183- let encoded_assignees : Vec < String > = assignees
184- . iter ( )
185- . map ( |a| {
186- // Encode each assignee value, including quotes, using form_urlencoded logic
187- let quoted = format ! ( " \" {} \" " , a ) ;
188- url :: form_urlencoded :: byte_serialize ( quoted . as_bytes ( ) ) . collect :: < String > ( )
189- } )
190- . collect ( ) ;
191-
192- // Determine if we need to add '?' or '&'
193- let separator = if !url_str . contains ( '?' ) {
194- "?"
195- } else if url_str . ends_with ( '?' ) {
196- ""
197- } else {
198- "&"
199- } ;
200- url_str . push_str ( & format ! ( "{}assignee={}" , separator , encoded_assignees . join ( "," ) ) ) ;
201- }
181+ if let Some ( assignees) = & self . assignee
182+ && !assignees. is_empty ( )
183+ {
184+ let encoded_assignees : Vec < String > = assignees
185+ . iter ( )
186+ . map ( |a| {
187+ // Encode each assignee value, including quotes, using form_urlencoded logic
188+ let quoted = format ! ( " \" {} \" " , a ) ;
189+ url :: form_urlencoded :: byte_serialize ( quoted . as_bytes ( ) ) . collect :: < String > ( )
190+ } )
191+ . collect ( ) ;
192+
193+ // Determine if we need to add '?' or '&'
194+ let separator = if !url_str . contains ( '?' ) {
195+ "?"
196+ } else if url_str . ends_with ( '?' ) {
197+ ""
198+ } else {
199+ "&"
200+ } ;
201+ url_str . push_str ( & format ! ( "{}assignee={}" , separator , encoded_assignees . join ( "," ) ) ) ;
202202 }
203203
204204 // Manual check for empty params (after constructing)
0 commit comments