mirror of
				https://codeberg.org/ashley/poke
				synced 2025-07-17 16:52:11 +00:00 
			
		
		
		
	add sort by oldest
This commit is contained in:
		
							parent
							
								
									18edb4b110
								
							
						
					
					
						commit
						c01a70c86b
					
				| @ -877,11 +877,15 @@ width: fit-content; | ||||
|            Popular | ||||
|               </a> | ||||
|                    | ||||
| 
 | ||||
|                        <a href="/channel?id=<%=ID%>&sort_by=oldest" style="color:#fff;text-decoration:none; | ||||
| " class="tag c"> | ||||
|            Oldest | ||||
|               </a> | ||||
|                    | ||||
|                    <% } %> | ||||
|                           <% if (sort) { %>   | ||||
| 
 | ||||
|                           <% if (sort != "newest") { %>   | ||||
|                           <% if (sort === "popular") { %>   | ||||
| 
 | ||||
|             <a  href="/channel?id=<%=ID%>" style="color:#fff;text-decoration:none; | ||||
| " class="tag c" > | ||||
| @ -890,8 +894,33 @@ width: fit-content; | ||||
|                    | ||||
|                                 <a  style="background:var(--chip-background-hover)" class="tag"> | ||||
|            Popular | ||||
|               </a> | ||||
|                              | ||||
|                                                    <a href="/channel?id=<%=ID%>&sort_by=oldest" style="color:#fff;text-decoration:none; | ||||
| " class="tag c"> | ||||
|            Oldest | ||||
|               </a> | ||||
|                    <% } %> | ||||
|                       | ||||
|                       | ||||
|                           <% if (sort === "oldest") { %>   | ||||
| 
 | ||||
|             <a  href="/channel?id=<%=ID%>" style="color:#fff;text-decoration:none; | ||||
| " class="tag c" > | ||||
|                 Recently Uploaded | ||||
|               </a> | ||||
|                    | ||||
|                                 <a    href="/channel?id=<%=ID%>&sort_by=popular" style="color:#fff;text-decoration:none; | ||||
| " class="tag"> | ||||
|            Popular | ||||
|               </a> | ||||
|                              | ||||
|                                                    <a   style="background:var(--chip-background-hover) | ||||
| " class="tag c"> | ||||
|            Oldest | ||||
|               </a> | ||||
|                    <% } %> | ||||
|                       | ||||
|                    <% } %> | ||||
| 
 | ||||
|                | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Ashley
						Ashley