github / github/codeql

"CodeQL library search" page is broken

未關閉
#21,083 4 則留言 1 個 reaction 已指派 1 人 已被 @oscarsj 認領 在 GitHub 檢視
acknowledged bug
主要語言
CodeQL
星號
10.1k
分支
2.1k
平均合併
2 天 15 小時
30 天內合併 PR
141

描述

# CodeQL library search page is broken

The search functionality on the **CodeQL library search** page at is broken. When attempting to search, the page does NOT do anything.

> [!IMPORTANT]
> **Standard Disclaimer:** I am unsure if this issue belongs in this repository or in another sister repository. If this is NOT the right place, please point me to the correct repository.

## Steps to reproduce

1. Navigate to the CodeQL documentation home page:
2. Under the "**CODEQL REFERENCE DOCS**" section, click on the link to "**CodeQL standard libraries**" page. You should be taken to .
3. On the "**CodeQL standard libraries**" page, click on the "**search**" link. You should be taken to the "**CodeQL library search**" page at
4. Type something (e.g. `Unpinned`) on the search input box, and click the "**Search**" button.
5. Observe what happens on the page as well as the browser console.

## Actual Results

Nothing happens on the page. The browser console shows the following error every time the "**Search**" button is clicked:

```
search.html:101
Uncaught ReferenceError: addsearch is not defined
at HTMLButtonElement.onclick (search.html:101:84)
onclick @ search.html:101
```

## Expected Results

The search results corresponding to the searched terms should appear on the page.
Or if no search results are available, the page should indicate that information too.

## Screenshots

Image

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。