Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document Search result: sort headers have wrong links #5234

Closed
1 task done
cabo opened this issue Feb 28, 2023 · 0 comments · Fixed by #5253
Closed
1 task done

Document Search result: sort headers have wrong links #5234

cabo opened this issue Feb 28, 2023 · 0 comments · Fixed by #5253
Assignees
Labels

Comments

@cabo
Copy link
Collaborator

cabo commented Feb 28, 2023

Describe the issue

https://datatracker.ietf.org/doc/search?activedrafts=on&author=Bormann&by=author&name=&sort=date

is very useful to me. Unfortunately, the sorting links in the table heading are all messed up, Document points to date, Date points to title, Status points to -date, IPR points to status, and AD/Shepherd points to IPR.

HTML excerpt below.

<tr>
                <th scope="col"></th>
                
                    
                        <th scope="col" data-sort="document" class="sort"><a href="?activedrafts=on&amp;author=Bormann&amp;by=author&amp;name=&amp;sort=date">
                                    Document
                                    
                                </a></th>
                    
                
                    
                
                    
                        <th scope="col" data-sort="date" class="sort"><a href="?activedrafts=on&amp;author=Bormann&amp;by=author&amp;name=&amp;sort=title">
                                    Date
                                    
                                </a></th>
                    
                
                    
                        <th scope="col" data-sort="status" class="sort"><a href="?activedrafts=on&amp;author=Bormann&amp;by=author&amp;name=&amp;sort=-date">
                                    Status
                                    
                                </a></th>
                    
                
                    
                        <th scope="col" data-sort="ipr" class="d-none d-sm-table-cell sort"><a href="?activedrafts=on&amp;author=Bormann&amp;by=author&amp;name=&amp;sort=status">
                                    IPR
                                    
                                </a></th>
                    
                
                    
                        <th scope="col" data-sort="ad" class="d-none d-sm-table-cell sort"><a href="?activedrafts=on&amp;author=Bormann&amp;by=author&amp;name=&amp;sort=ipr">
                                    AD/Shepherd
                                    
                                </a></th>
                    
                
            </tr>
<th scope="col"></th>
<th scope="col" data-sort="document" class="sort"><a href="?activedrafts=on&amp;author=Bormann&amp;by=author&amp;name=&amp;sort=date">
                                    Document
                                    
                                </a></th>
<a href="?activedrafts=on&amp;author=Bormann&amp;by=author&amp;name=&amp;sort=date">
                                    Document
                                    
                                </a>
<<pseudo>></<pseudo>>
<th scope="col" data-sort="document" class="sort"><a href="?activedrafts=on&amp;author=Bormann&amp;by=author&amp;name=&amp;sort=date">
                                    Document
                                    
                                </a></th>
<th scope="col" data-sort="date" class="sort"><a href="?activedrafts=on&amp;author=Bormann&amp;by=author&amp;name=&amp;sort=title">
                                    Date
                                    
                                </a></th>
<th scope="col" data-sort="status" class="sort"><a href="?activedrafts=on&amp;author=Bormann&amp;by=author&amp;name=&amp;sort=-date">
                                    Status
                                    
                                </a></th>
<th scope="col" data-sort="ipr" class="d-none d-sm-table-cell sort"><a href="?activedrafts=on&amp;author=Bormann&amp;by=author&amp;name=&amp;sort=status">
                                    IPR
                                    
                                </a></th>
<th scope="col" data-sort="ad" class="d-none d-sm-table-cell sort"><a href="?activedrafts=on&amp;author=Bormann&amp;by=author&amp;name=&amp;sort=ipr">
                                    AD/Shepherd
                                    
                                </a></th>
<tr>
                <th scope="col"></th>
                
                    
                        <th scope="col" data-sort="document" class="sort"><a href="?activedrafts=on&amp;author=Bormann&amp;by=author&amp;name=&amp;sort=date">
                                    Document
                                    
                                </a></th>
                    
                
                    
                
                    
                        <th scope="col" data-sort="date" class="sort"><a href="?activedrafts=on&amp;author=Bormann&amp;by=author&amp;name=&amp;sort=title">
                                    Date
                                    
                                </a></th>
                    
                
                    
                        <th scope="col" data-sort="status" class="sort"><a href="?activedrafts=on&amp;author=Bormann&amp;by=author&amp;name=&amp;sort=-date">
                                    Status
                                    
                                </a></th>
                    
                
                    
                        <th scope="col" data-sort="ipr" class="d-none d-sm-table-cell sort"><a href="?activedrafts=on&amp;author=Bormann&amp;by=author&amp;name=&amp;sort=status">
                                    IPR
                                    
                                </a></th>
                    
                
                    
                        <th scope="col" data-sort="ad" class="d-none d-sm-table-cell sort"><a href="?activedrafts=on&amp;author=Bormann&amp;by=author&amp;name=&amp;sort=ipr">
                                    AD/Shepherd
                                    
                                </a></th>
                    
                
            </tr>

Code of Conduct

@cabo cabo added the bug Something isn't working label Feb 28, 2023
larseggert added a commit to larseggert/datatracker that referenced this issue Mar 1, 2023
@larseggert larseggert self-assigned this Mar 1, 2023
rjsparks pushed a commit that referenced this issue Mar 1, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants