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

検索結果一覧のTSVエクスポートを .txt (.textではなく)とするように戻してほしい #1582

Closed
1 task done
yegusa opened this issue Nov 28, 2021 · 2 comments

Comments

@yegusa
Copy link

yegusa commented Nov 28, 2021

まだリリースされてないようですが、検索結果一覧のTSVエクスポートで、.textとなるように変更されているようです。

next-l/enju_biblio@a21baf8

コミュニティの合意なく実装されたため、なぜそのような変更がなされたのかわかりませんが、一般的ではないと思いますし、大変戸惑います。

いったん、.txt に戻すようお願いします。

現象:
検索結果一覧の「TSV」の上で「名前を付けてリンク先を保存」とすると、
デフォルトのファイル名の拡張子が.text となる。

検索結果一覧で、「TSV」リンクの上で、「名前を付けてリンク先を保存」を使用としているところ
image

ファイル名が「manifestations.text」と 拡張子が .text となっているところ
image

nabeta added a commit that referenced this issue Nov 30, 2021
nabeta added a commit that referenced this issue Nov 30, 2021
@nabeta
Copy link
Member

nabeta commented Nov 30, 2021

@yegusa 説明なしの作業で申し訳ありません。本来Railsでは、テキストのテンプレートは、拡張子がtxtでもtextでも動作するようになっているのですが、Enjuでは大昔に、拡張子の設定を誤って上書きしてしまっていました。これを直そうとして途中になっていました。

以下のコミットで修正しました。デモサーバにも反映済みです。
e9d265b

@masao masao added this to the 1.3.6 milestone Mar 5, 2022
@nabeta nabeta added the checking label Mar 5, 2022
@yegusa
Copy link
Author

yegusa commented Mar 9, 2022

デモサーバーで、.txtで保存できることを確認しましたのでクローズします。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants